#CFAFFD#CFAFFD

#CFAFFD is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.9% C 0.113 H 302.8°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#CFAFFD
RGBrgb(207, 175, 253)
HSLhsl(265, 95%, 84%)
HSVhsv(265, 31%, 99%)
CMYKcmyk(18.2%, 30.8%, 0%, 0.8%)
CIE-LABlab(76.69, 26.49, -34.38)
CIE-LCHlch(76.69, 43.40, 307.61°)
OKLaboklab(80.94% 0.061 -0.0947)
OKLCHoklch(80.94% 0.113 302.8)
XYZxyz(58.7881, 51.0172, 99.6597)
Luminance0.5102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFFD #DDFDAF
analogous
#AFB6FD #CFAFFD #F6AFFD
triadic
#CFAFFD #FDCFAF #AFFDCF
tetradic
#CFAFFD #FDAFB6 #DDFDAF #AFFDF6
square
#CFAFFD #FDAFB6 #DDFDAF #AFFDF6
split-complementary
#CFAFFD #FDF6AF #B6FDAF
monochromatic
#8738FA #AB73FC #CFAFFD #EDE1FE #EDE1FE

Accessibility & contrast

On white

1.87
#CFAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#CFAFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFFD
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFFD#FFFFFF#000000##000000
##CFAFFD1.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBDFF
Deuteranopia (green-blind)
#A5BDFB
Tritanopia (blue-blind)
#C8BBCB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaffd;
/* rgb */ color: rgb(207, 175, 253);
/* oklch */ color: oklch(80.9% 0.113 302.8);
Tailwind
colors: {
  custom: {
    50: '#dec7fe',
    500: '#cfaffd',
    950: '#000000',
  },
}
SCSS
$custom: #cfaffd;
$custom-light: #dec7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaffd",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 264.615,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.80941,
    "c": 0.11263,
    "h": 302.8
  },
  "luminance": 0.51017
}

Semantic roles & 50–950 ramp

primary
#CFAFFD
secondary
#B2E26E
accent
#E60087
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFAFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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