#C8A5F7#C8A5F7

#C8A5F7 is a light, moderate violet. Relative luminance 0.459; OKLCH L 78.3% C 0.119 H 303.4°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#C8A5F7
RGBrgb(200, 165, 247)
HSLhsl(266, 84%, 81%)
HSVhsv(266, 33%, 97%)
CMYKcmyk(19%, 33.2%, 0%, 3.1%)
CIE-LABlab(73.48, 28.56, -36.15)
CIE-LCHlch(73.48, 46.07, 308.31°)
OKLaboklab(78.27% 0.0657 -0.0998)
OKLCHoklch(78.27% 0.12 303.4)
XYZxyz(54.0596, 45.9051, 93.9902)
Luminance0.4591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8A5F7 #D4F7A5
analogous
#A5ABF7 #C8A5F7 #F1A5F7
triadic
#C8A5F7 #F7C8A5 #A5F7C8
tetradic
#C8A5F7 #F7A5AB #D4F7A5 #A5F7F1
square
#C8A5F7 #F7A5AB #D4F7A5 #A5F7F1
split-complementary
#C8A5F7 #F7F1A5 #ABF7A5
monochromatic
#8335ED #A66DF2 #C8A5F7 #EADDFC #EEE3FD

Accessibility & contrast

On white

2.06
#C8A5F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#C8A5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8A5F7
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8A5F7#FFFFFF#000000##000000
##C8A5F71.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B4FA
Deuteranopia (green-blind)
#9AB4F5
Tritanopia (blue-blind)
#C0B1C3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c8a5f7;
/* rgb */ color: rgb(200, 165, 247);
/* oklch */ color: oklch(78.3% 0.119 303.4);
Tailwind
colors: {
  custom: {
    50: '#dac0fa',
    500: '#c8a5f7',
    950: '#000000',
  },
}
SCSS
$custom: #c8a5f7;
$custom-light: #dac0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c8a5f7",
  "rgb": {
    "r": 200,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 265.61,
    "s": 83.673,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78267,
    "c": 0.1195,
    "h": 303.4
  },
  "luminance": 0.45905
}

Semantic roles & 50–950 ramp

primary
#C8A5F7
secondary
#E8F4D7
accent
#E00583
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #C8A5F7

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

Preview Lab → · Contrast checker → · Palette generator →

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