#CFB5DF#CFB5DF

#CFB5DF is a light, moderate violet. Relative luminance 0.516; OKLCH L 80.9% C 0.065 H 312.5°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#CFB5DF
RGBrgb(207, 181, 223)
HSLhsl(277, 40%, 79%)
HSVhsv(277, 19%, 87%)
CMYKcmyk(7.2%, 18.8%, 0%, 12.5%)
CIE-LABlab(77.07, 16.95, -17.60)
CIE-LCHlch(77.07, 24.44, 313.92°)
OKLaboklab(80.88% 0.0436 -0.0475)
OKLCHoklch(80.88% 0.065 312.5)
XYZxyz(55.5731, 51.6414, 76.8379)
Luminance0.5164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5DF #C5DFB5
analogous
#BAB5DF #CFB5DF #DFB5DA
triadic
#CFB5DF #DFCFB5 #B5DFCF
tetradic
#CFB5DF #DFBAB5 #C5DFB5 #B5DADF
square
#CFB5DF #DFBAB5 #C5DFB5 #B5DADF
split-complementary
#CFB5DF #DADFB5 #B5DFBA
monochromatic
#9860BA #B38ACD #CFB5DF #EBE0F1 #F1EAF6

Accessibility & contrast

On white

1.85
#CFB5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#CFB5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB5DF
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB5DF#FFFFFF#000000##000000
##CFB5DF1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFBDE1
Deuteranopia (green-blind)
#B4BFDE
Tritanopia (blue-blind)
#CEBAC3
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb5df;
/* rgb */ color: rgb(207, 181, 223);
/* oklch */ color: oklch(80.9% 0.065 312.5);
Tailwind
colors: {
  custom: {
    50: '#decbe9',
    500: '#cfb5df',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5df;
$custom-light: #decbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5df",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 223
  },
  "hsl": {
    "h": 277.143,
    "s": 39.623,
    "l": 79.216
  },
  "oklch": {
    "l": 0.8088,
    "c": 0.06453,
    "h": 312.5
  },
  "luminance": 0.51641
}

Semantic roles & 50–950 ramp

primary
#CFB5DF
secondary
#96B881
accent
#B33364
background
#FEFDFE
surface
#FCF9FC
border
#D5D2D5
text
#151316
muted
#848284

Preview Lab

Preview with #CFB5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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