#CFB7EA#CFB7EA

#CFB7EA is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.7% C 0.075 H 306.2°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CFB7EA
RGBrgb(207, 183, 234)
HSLhsl(268, 55%, 82%)
HSVhsv(268, 22%, 92%)
CMYKcmyk(11.5%, 21.8%, 0%, 8.2%)
CIE-LABlab(77.92, 18.09, -22.26)
CIE-LCHlch(77.92, 28.68, 309.11°)
OKLaboklab(81.66% 0.0442 -0.0605)
OKLCHoklch(81.66% 0.075 306.2)
XYZxyz(57.5141, 53.0731, 85.0401)
Luminance0.5307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB7EA #D2EAB7
analogous
#B7B9EA #CFB7EA #E9B7EA
triadic
#CFB7EA #EACFB7 #B7EACF
tetradic
#CFB7EA #EAB7B9 #D2EAB7 #B7EAE9
square
#CFB7EA #EAB7B9 #D2EAB7 #B7EAE9
split-complementary
#CFB7EA #EAE9B7 #B9EAB7
monochromatic
#9058CE #AF88DC #CFB7EA #EFE6F8 #EFE7F8

Accessibility & contrast

On white

1.81
#CFB7EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CFB7EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB7EA
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB7EA#FFFFFF#000000##000000
##CFB7EA1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC0EC
Deuteranopia (green-blind)
#B3C1E8
Tritanopia (blue-blind)
#CBBEC8
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb7ea;
/* rgb */ color: rgb(207, 183, 234);
/* oklch */ color: oklch(81.7% 0.075 306.2);
Tailwind
colors: {
  custom: {
    50: '#deccf0',
    500: '#cfb7ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfb7ea;
$custom-light: #deccf0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb7ea",
  "rgb": {
    "r": 207,
    "g": 183,
    "b": 234
  },
  "hsl": {
    "h": 268.235,
    "s": 54.839,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81659,
    "c": 0.07495,
    "h": 306.2
  },
  "luminance": 0.53073
}

Semantic roles & 50–950 ramp

primary
#CFB7EA
secondary
#A5C67F
accent
#C22377
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151316
muted
#848385

Preview Lab

Preview with #CFB7EA

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

Preview Lab → · Contrast checker → · Palette generator →

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