#C8AFEB#C8AFEB

#C8AFEB is a light, moderate violet. Relative luminance 0.489; OKLCH L 79.6% C 0.087 H 303.5°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#C8AFEB
RGBrgb(200, 175, 235)
HSLhsl(265, 60%, 80%)
HSVhsv(265, 26%, 92%)
CMYKcmyk(14.9%, 25.5%, 0%, 7.8%)
CIE-LABlab(75.41, 20.46, -26.67)
CIE-LCHlch(75.41, 33.62, 307.49°)
OKLaboklab(79.6% 0.0483 -0.0729)
OKLCHoklch(79.6% 0.087 303.5)
XYZxyz(54.1418, 48.9375, 85.1747)
Luminance0.4894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFEB #D2EBAF
analogous
#AFB4EB #C8AFEB #E6AFEB
triadic
#C8AFEB #EBC8AF #AFEBC8
tetradic
#C8AFEB #EBAFB4 #D2EBAF #AFEBE6
square
#C8AFEB #EBAFB4 #D2EBAF #AFEBE6
split-complementary
#C8AFEB #EBE6AF #B4EBAF
monochromatic
#854DD3 #A67EDF #C8AFEB #EAE0F7 #EEE7F9

Accessibility & contrast

On white

1.95
#C8AFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#C8AFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFEB
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFEB#FFFFFF#000000##000000
##C8AFEB1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B9EE
Deuteranopia (green-blind)
#A8BAE9
Tritanopia (blue-blind)
#C3B7C4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c8afeb;
/* rgb */ color: rgb(200, 175, 235);
/* oklch */ color: oklch(79.6% 0.087 303.5);
Tailwind
colors: {
  custom: {
    50: '#d9c7f1',
    500: '#c8afeb',
    950: '#000000',
  },
}
SCSS
$custom: #c8afeb;
$custom-light: #d9c7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8afeb",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 265,
    "s": 60,
    "l": 80.392
  },
  "oklch": {
    "l": 0.79595,
    "c": 0.08749,
    "h": 303.5
  },
  "luminance": 0.48937
}

Semantic roles & 50–950 ramp

primary
#C8AFEB
secondary
#E7F0DB
accent
#C81E81
background
#FDFCFE
surface
#FAF8FD
border
#D3D1D5
text
#141316
muted
#838284

Preview Lab

Preview with #C8AFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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