#CFB8EA#CFB8EA

#CFB8EA is a light, moderate violet. Relative luminance 0.535; OKLCH L 81.8% C 0.073 H 305.7°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#CFB8EA
RGBrgb(207, 184, 234)
HSLhsl(268, 54%, 82%)
HSVhsv(268, 21%, 92%)
CMYKcmyk(11.5%, 21.4%, 0%, 8.2%)
CIE-LABlab(78.16, 17.55, -21.89)
CIE-LCHlch(78.16, 28.05, 308.72°)
OKLaboklab(81.85% 0.0428 -0.0595)
OKLCHoklch(81.85% 0.073 305.7)
XYZxyz(57.7211, 53.4871, 85.1091)
Luminance0.5349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB8EA #D3EAB8
analogous
#B8BAEA #CFB8EA #E8B8EA
triadic
#CFB8EA #EACFB8 #B8EACF
tetradic
#CFB8EA #EAB8BA #D3EAB8 #B8EAE8
square
#CFB8EA #EAB8BA #D3EAB8 #B8EAE8
split-complementary
#CFB8EA #EAE8B8 #BAEAB8
monochromatic
#8F5ACE #AF89DC #CFB8EA #EFE7F8 #EFE7F8

Accessibility & contrast

On white

1.80
#CFB8EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#CFB8EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB8EA
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB8EA#FFFFFF#000000##000000
##CFB8EA1.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb8ea;
/* rgb */ color: rgb(207, 184, 234);
/* oklch */ color: oklch(81.8% 0.073 305.7);
Tailwind
colors: {
  custom: {
    50: '#decdf0',
    500: '#cfb8ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfb8ea;
$custom-light: #decdf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb8ea",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 234
  },
  "hsl": {
    "h": 267.6,
    "s": 54.348,
    "l": 81.961
  },
  "oklch": {
    "l": 0.81847,
    "c": 0.07327,
    "h": 305.7
  },
  "luminance": 0.53487
}

Semantic roles & 50–950 ramp

primary
#CFB8EA
secondary
#A6C680
accent
#C22479
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CFB8EA

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

Preview Lab → · Contrast checker → · Palette generator →

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