#C8A4F2#C8A4F2

#C8A4F2 is a light, moderate violet. Relative luminance 0.452; OKLCH L 77.9% C 0.115 H 305.0°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#C8A4F2
RGBrgb(200, 164, 242)
HSLhsl(268, 75%, 80%)
HSVhsv(268, 32%, 95%)
CMYKcmyk(17.4%, 32.2%, 0%, 5.1%)
CIE-LABlab(73.05, 28.01, -34.11)
CIE-LCHlch(73.05, 44.14, 309.40°)
OKLaboklab(77.87% 0.0659 -0.094)
OKLCHoklch(77.87% 0.115 305)
XYZxyz(53.1187, 45.2413, 89.9212)
Luminance0.4524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A4F2 #CEF2A4
analogous
#A4A7F2 #C8A4F2 #EFA4F2
triadic
#C8A4F2 #F2C8A4 #A4F2C8
tetradic
#C8A4F2 #F2A4A7 #CEF2A4 #A4F2EF
square
#C8A4F2 #F2A4A7 #CEF2A4 #A4F2EF
split-complementary
#C8A4F2 #F2EFA4 #A7F2A4
monochromatic
#8739E3 #A86EEA #C8A4F2 #E8DAFA #EFE4FB

Accessibility & contrast

On white

2.09
#C8A4F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#C8A4F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A4F2
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A4F2#FFFFFF#000000##000000
##C8A4F21.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F5
Deuteranopia (green-blind)
#9BB3F0
Tritanopia (blue-blind)
#C2AFC0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8a4f2;
/* rgb */ color: rgb(200, 164, 242);
/* oklch */ color: oklch(77.9% 0.115 305.0);
Tailwind
colors: {
  custom: {
    50: '#d9bff6',
    500: '#c8a4f2',
    950: '#000000',
  },
}
SCSS
$custom: #c8a4f2;
$custom-light: #d9bff6;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a4f2",
  "rgb": {
    "r": 200,
    "g": 164,
    "b": 242
  },
  "hsl": {
    "h": 267.692,
    "s": 75,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7787,
    "c": 0.11478,
    "h": 305
  },
  "luminance": 0.45241
}

Semantic roles & 50–950 ramp

primary
#C8A4F2
secondary
#E7F3D8
accent
#D70E7A
background
#FDFBFF
surface
#FBF7FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #C8A4F2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C8A4F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva