#C8A7FF

A color in the Violet family

#c8a7ff is a color in the Violet family: RGB(200, 167, 255), HSL(263°, 100%, 83%), CMYK(22%, 35%, 0%, 0%). Closest named color: plum. Contrast is 2.01:1 on white and 10.43:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#c8a7ff
RGBrgb(200 167 255)
RGB (legacy)rgb(200, 167, 255)
RGB %rgb(78% 65% 100%)
HSLhsl(263 100% 83%)
HSV / HSBhsv(263, 35%, 100%)
HWBhwb(263 65% 0%)
CMYKcmyk(22%, 35%, 0%, 0%)
CIELAB (D50)lab(73.94 25.4 -39.49)
LCHlch(73.94 46.95 302.75)
OKLaboklab(0.7898 0.0648 -0.1087)
OKLCHoklch(0.7898 0.1265 300.79)
Decimal13150207

Properties

Color ToneViolet
Closest named colorplum ΔE 5.6
Closest web-safe color#cc99ff
Hue263°
Saturation (HSL / HSV)100% / 35%
Lightness (HSL)83%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)73% / 71%
Relative luminance (WCAG)0.4714
Red / Green / Blue200 / 167 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.01:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.43:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 39 / -63.4 · As background with white / black text: Lc -43.5 / 64.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #c8a7ff;
  --color-brand-oklch: oklch(78.98% 0.1265 300.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(200 167 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#c8a7ff] text-[#c8a7ff] border-[#c8a7ff]">