#CFB8EE#CFB8EE

#CFB8EE is a light, moderate violet. Relative luminance 0.537; OKLCH L 82.0% C 0.078 H 304.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#CFB8EE
RGBrgb(207, 184, 238)
HSLhsl(266, 61%, 83%)
HSVhsv(266, 23%, 93%)
CMYKcmyk(13%, 22.7%, 0%, 6.7%)
CIE-LABlab(78.30, 18.38, -23.83)
CIE-LCHlch(78.30, 30.10, 307.63°)
OKLaboklab(82% 0.044 -0.0649)
OKLCHoklch(82% 0.078 304.1)
XYZxyz(58.3023, 53.7195, 88.1698)
Luminance0.5372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB8EE #D7EEB8
analogous
#B8BCEE #CFB8EE #EAB8EE
triadic
#CFB8EE #EECFB8 #B8EECF
tetradic
#CFB8EE #EEB8BC #D7EEB8 #B8EEEA
square
#CFB8EE #EEB8BC #D7EEB8 #B8EEEA
split-complementary
#CFB8EE #EEEAB8 #BCEEB8
monochromatic
#8C55D6 #AE87E2 #CFB8EE #EEE6F9 #EEE6F9

Accessibility & contrast

On white

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

On black

11.74
#CFB8EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB8EE
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB8EE#FFFFFF#000000##000000
##CFB8EE1.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC1F0
Deuteranopia (green-blind)
#B2C2EC
Tritanopia (blue-blind)
#CABFCB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfb8ee;
/* rgb */ color: rgb(207, 184, 238);
/* oklch */ color: oklch(82.0% 0.078 304.1);
Tailwind
colors: {
  custom: {
    50: '#decdf3',
    500: '#cfb8ee',
    950: '#000000',
  },
}
SCSS
$custom: #cfb8ee;
$custom-light: #decdf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb8ee",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 238
  },
  "hsl": {
    "h": 265.556,
    "s": 61.364,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81998,
    "c": 0.07844,
    "h": 304.1
  },
  "luminance": 0.53719
}

Semantic roles & 50–950 ramp

primary
#CFB8EE
secondary
#ABCC7E
accent
#C91C80
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB8EE

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

Preview Lab → · Contrast checker → · Palette generator →

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