#C8AFFE#C8AFFE

#C8AFFE is a light, moderate violet. Relative luminance 0.501; OKLCH L 80.4% C 0.112 H 298.4°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#C8AFFE
RGBrgb(200, 175, 254)
HSLhsl(259, 98%, 84%)
HSVhsv(259, 31%, 100%)
CMYKcmyk(21.3%, 31.1%, 0%, 0.4%)
CIE-LABlab(76.13, 24.63, -35.83)
CIE-LCHlch(76.13, 43.48, 304.51°)
OKLaboklab(80.38% 0.0535 -0.099)
OKLCHoklch(80.38% 0.112 298.4)
XYZxyz(57.0348, 50.0947, 100.4112)
Luminance0.5010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8AFFE #E5FEAF
analogous
#AFBEFE #C8AFFE #EFAFFE
triadic
#C8AFFE #FEC8AF #AFFEC8
tetradic
#C8AFFE #FEAFBE #E5FEAF #AFFEEF
square
#C8AFFE #FEAFBE #E5FEAF #AFFEEF
split-complementary
#C8AFFE #FEEFAF #BEFEAF
monochromatic
#7536FC #9E73FD #C8AFFE #EAE1FF #EAE1FF

Accessibility & contrast

On white

1.91
#C8AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#C8AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8AFFE
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8AFFE#FFFFFF#000000##000000
##C8AFFE1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DBCFF
Deuteranopia (green-blind)
#A1BBFC
Tritanopia (blue-blind)
#BEBCCB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8affe;
/* rgb */ color: rgb(200, 175, 254);
/* oklch */ color: oklch(80.4% 0.112 298.4);
Tailwind
colors: {
  custom: {
    50: '#d9c7ff',
    500: '#c8affe',
    950: '#000000',
  },
}
SCSS
$custom: #c8affe;
$custom-light: #d9c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c8affe",
  "rgb": {
    "r": 200,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 258.987,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.8038,
    "c": 0.11247,
    "h": 298.4
  },
  "luminance": 0.50095
}

Semantic roles & 50–950 ramp

primary
#C8AFFE
secondary
#BEE46E
accent
#E6009D
background
#FEFDFF
surface
#FBF9FF
border
#D4D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #C8AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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