#C9AFFE#C9AFFE

#C9AFFE is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.5% C 0.113 H 299.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#C9AFFE
RGBrgb(201, 175, 254)
HSLhsl(260, 98%, 84%)
HSVhsv(260, 31%, 100%)
CMYKcmyk(20.9%, 31.1%, 0%, 0.4%)
CIE-LABlab(76.21, 24.93, -35.69)
CIE-LCHlch(76.21, 43.54, 304.93°)
OKLaboklab(80.47% 0.0546 -0.0985)
OKLCHoklch(80.47% 0.113 299)
XYZxyz(57.3028, 50.2329, 100.4237)
Luminance0.5023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9AFFE #E4FEAF
analogous
#AFBDFE #C9AFFE #F1AFFE
triadic
#C9AFFE #FEC9AF #AFFEC9
tetradic
#C9AFFE #FEAFBD #E4FEAF #AFFEF1
square
#C9AFFE #FEAFBD #E4FEAF #AFFEF1
split-complementary
#C9AFFE #FEF1AF #BDFEAF
monochromatic
#7736FC #A073FD #C9AFFE #EBE1FF #EBE1FF

Accessibility & contrast

On white

1.90
#C9AFFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#C9AFFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C9AFFE
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9AFFE#FFFFFF#000000##000000
##C9AFFE1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c9affe;
/* rgb */ color: rgb(201, 175, 254);
/* oklch */ color: oklch(80.5% 0.113 299.0);
Tailwind
colors: {
  custom: {
    50: '#dac7ff',
    500: '#c9affe',
    950: '#000000',
  },
}
SCSS
$custom: #c9affe;
$custom-light: #dac7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c9affe",
  "rgb": {
    "r": 201,
    "g": 175,
    "b": 254
  },
  "hsl": {
    "h": 259.747,
    "s": 97.531,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80465,
    "c": 0.11265,
    "h": 299
  },
  "luminance": 0.50233
}

Semantic roles & 50–950 ramp

primary
#C9AFFE
secondary
#BDE46E
accent
#E6009A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #C9AFFE

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

Preview Lab → · Contrast checker → · Palette generator →

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