#CFAFFB#CFAFFB

#CFAFFB is a light, moderate violet. Relative luminance 0.509; OKLCH L 80.9% C 0.110 H 303.3°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#CFAFFB
RGBrgb(207, 175, 251)
HSLhsl(265, 90%, 84%)
HSVhsv(265, 30%, 98%)
CMYKcmyk(17.5%, 30.3%, 0%, 1.6%)
CIE-LABlab(76.61, 26.05, -33.42)
CIE-LCHlch(76.61, 42.37, 307.94°)
OKLaboklab(80.86% 0.0605 -0.092)
OKLCHoklch(80.86% 0.11 303.3)
XYZxyz(58.4712, 50.8905, 97.9905)
Luminance0.5089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAFFB #DBFBAF
analogous
#AFB5FB #CFAFFB #F5AFFB
triadic
#CFAFFB #FBCFAF #AFFBCF
tetradic
#CFAFFB #FBAFB5 #DBFBAF #AFFBF5
square
#CFAFFB #FBAFB5 #DBFBAF #AFFBF5
split-complementary
#CFAFFB #FBF5AF #B5FBAF
monochromatic
#893AF5 #AC75F8 #CFAFFB #EEE2FE #EEE2FE

Accessibility & contrast

On white

1.88
#CFAFFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#CFAFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAFFB
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAFFB#FFFFFF#000000##000000
##CFAFFB1.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFE
Deuteranopia (green-blind)
#A5BDF9
Tritanopia (blue-blind)
#C8BACA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cfaffb;
/* rgb */ color: rgb(207, 175, 251);
/* oklch */ color: oklch(80.9% 0.110 303.3);
Tailwind
colors: {
  custom: {
    50: '#dec7fd',
    500: '#cfaffb',
    950: '#000000',
  },
}
SCSS
$custom: #cfaffb;
$custom-light: #dec7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaffb",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 265.263,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80857,
    "c": 0.11006,
    "h": 303.3
  },
  "luminance": 0.5089
}

Semantic roles & 50–950 ramp

primary
#CFAFFB
secondary
#B0DF6F
accent
#E60085
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFAFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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