#C8AFEE#C8AFEE

#C8AFEE is a light, moderate violet. Relative luminance 0.491; OKLCH L 79.7% C 0.091 H 302.5°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C8AFEE
RGBrgb(200, 175, 238)
HSLhsl(264, 65%, 81%)
HSVhsv(264, 26%, 93%)
CMYKcmyk(16%, 26.5%, 0%, 6.7%)
CIE-LABlab(75.52, 21.10, -28.13)
CIE-LCHlch(75.52, 35.17, 306.88°)
OKLaboklab(79.71% 0.0492 -0.0771)
OKLCHoklch(79.71% 0.091 302.5)
XYZxyz(54.5789, 49.1124, 87.4766)
Luminance0.4911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFEE #D5EEAF
analogous
#AFB5EE #C8AFEE #E7AFEE
triadic
#C8AFEE #EEC8AF #AFEEC8
tetradic
#C8AFEE #EEAFB5 #D5EEAF #AFEEE7
square
#C8AFEE #EEAFB5 #D5EEAF #AFEEE7
split-complementary
#C8AFEE #EEE7AF #B5EEAF
monochromatic
#834AD9 #A57DE3 #C8AFEE #EBE1F9 #EEE6FA

Accessibility & contrast

On white

1.94
#C8AFEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C8AFEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFEE
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFEE#FFFFFF#000000##000000
##C8AFEE1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3B9F1
Deuteranopia (green-blind)
#A7BAEC
Tritanopia (blue-blind)
#C2B8C5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8afee;
/* rgb */ color: rgb(200, 175, 238);
/* oklch */ color: oklch(79.7% 0.091 302.5);
Tailwind
colors: {
  custom: {
    50: '#d9c7f3',
    500: '#c8afee',
    950: '#000000',
  },
}
SCSS
$custom: #c8afee;
$custom-light: #d9c7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8afee",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 238
  },
  "hsl": {
    "h": 263.81,
    "s": 64.948,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79714,
    "c": 0.09142,
    "h": 302.5
  },
  "luminance": 0.49112
}

Semantic roles & 50–950 ramp

primary
#C8AFEE
secondary
#E8F1DA
accent
#CD1985
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141317
muted
#838285

Preview Lab

Preview with #C8AFEE

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

Preview Lab → · Contrast checker → · Palette generator →

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