#CFB8EB#CFB8EB

#CFB8EB is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.9% C 0.075 H 305.3°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CFB8EB
RGBrgb(207, 184, 235)
HSLhsl(267, 56%, 82%)
HSVhsv(267, 22%, 92%)
CMYKcmyk(11.9%, 21.7%, 0%, 7.8%)
CIE-LABlab(78.20, 17.75, -22.37)
CIE-LCHlch(78.20, 28.56, 308.43°)
OKLaboklab(81.88% 0.0431 -0.0608)
OKLCHoklch(81.88% 0.075 305.3)
XYZxyz(57.8652, 53.5447, 85.8679)
Luminance0.5354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB8EB #D4EBB8
analogous
#B8BBEB #CFB8EB #E9B8EB
triadic
#CFB8EB #EBCFB8 #B8EBCF
tetradic
#CFB8EB #EBB8BB #D4EBB8 #B8EBE9
square
#CFB8EB #EBB8BB #D4EBB8 #B8EBE9
split-complementary
#CFB8EB #EBE9B8 #BBEBB8
monochromatic
#8E59D0 #AF88DE #CFB8EB #EFE7F8 #EFE7F8

Accessibility & contrast

On white

1.79
#CFB8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CFB8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB8EB
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB8EB#FFFFFF#000000##000000
##CFB8EB1.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFC1ED
Deuteranopia (green-blind)
#B3C2E9
Tritanopia (blue-blind)
#CBBFC9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb8eb;
/* rgb */ color: rgb(207, 184, 235);
/* oklch */ color: oklch(81.9% 0.075 305.3);
Tailwind
colors: {
  custom: {
    50: '#decdf1',
    500: '#cfb8eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfb8eb;
$custom-light: #decdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb8eb",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 235
  },
  "hsl": {
    "h": 267.059,
    "s": 56.044,
    "l": 82.157
  },
  "oklch": {
    "l": 0.81885,
    "c": 0.07456,
    "h": 305.3
  },
  "luminance": 0.53545
}

Semantic roles & 50–950 ramp

primary
#CFB8EB
secondary
#A7C780
accent
#C4227B
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CFB8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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