#C8AAFD#C8AAFD

#C8AAFD is a light, moderate violet. Relative luminance 0.481; OKLCH L 79.4% C 0.119 H 300.3°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#C8AAFD
RGBrgb(200, 170, 253)
HSLhsl(262, 95%, 83%)
HSVhsv(262, 33%, 99%)
CMYKcmyk(20.9%, 32.8%, 0%, 0.8%)
CIE-LABlab(74.90, 27.15, -37.19)
CIE-LCHlch(74.90, 46.05, 306.13°)
OKLaboklab(79.43% 0.0602 -0.1028)
OKLCHoklch(79.43% 0.119 300.3)
XYZxyz(55.9199, 48.1205, 99.2516)
Luminance0.4812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AAFD #DFFDAA
analogous
#AAB5FD #C8AAFD #F2AAFD
triadic
#C8AAFD #FDC8AA #AAFDC8
tetradic
#C8AAFD #FDAAB5 #DFFDAA #AAFDF2
square
#C8AAFD #FDAAB5 #DFFDAA #AAFDF2
split-complementary
#C8AAFD #FDF2AA #B5FDAA
monochromatic
#7B32FA #A16EFC #C8AAFD #ECE1FE #ECE1FE

Accessibility & contrast

On white

1.98
#C8AAFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#C8AAFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AAFD
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AAFD#FFFFFF#000000##000000
##C8AAFD1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B8FF
Deuteranopia (green-blind)
#9CB8FB
Tritanopia (blue-blind)
#BFB7C8
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8aafd;
/* rgb */ color: rgb(200, 170, 253);
/* oklch */ color: oklch(79.4% 0.119 300.3);
Tailwind
colors: {
  custom: {
    50: '#dac3fe',
    500: '#c8aafd',
    950: '#000000',
  },
}
SCSS
$custom: #c8aafd;
$custom-light: #dac3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c8aafd",
  "rgb": {
    "r": 200,
    "g": 170,
    "b": 253
  },
  "hsl": {
    "h": 261.687,
    "s": 95.402,
    "l": 82.941
  },
  "oklch": {
    "l": 0.79428,
    "c": 0.11914,
    "h": 300.3
  },
  "luminance": 0.48121
}

Semantic roles & 50–950 ramp

primary
#C8AAFD
secondary
#EAF7D4
accent
#E60093
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #C8AAFD

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

Preview Lab → · Contrast checker → · Palette generator →

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