#CFB3EA#CFB3EA

#CFB3EA is a light, moderate violet. Relative luminance 0.514; OKLCH L 80.9% C 0.082 H 307.7°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CFB3EA
RGBrgb(207, 179, 234)
HSLhsl(271, 57%, 81%)
HSVhsv(271, 24%, 92%)
CMYKcmyk(11.5%, 23.5%, 0%, 8.2%)
CIE-LABlab(76.95, 20.27, -23.73)
CIE-LCHlch(76.95, 31.21, 310.50°)
OKLaboklab(80.91% 0.05 -0.0646)
OKLCHoklch(80.91% 0.082 307.7)
XYZxyz(56.7008, 51.4464, 84.7690)
Luminance0.5145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3EA #CEEAB3
analogous
#B3B3EA #CFB3EA #EAB3E9
triadic
#CFB3EA #EACFB3 #B3EACF
tetradic
#CFB3EA #EAB3B3 #CEEAB3 #B3E9EA
square
#CFB3EA #EAB3B3 #CEEAB3 #B3E9EA
split-complementary
#CFB3EA #E9EAB3 #B3EAB3
monochromatic
#9253D0 #B183DD #CFB3EA #EDE3F7 #F0E7F8

Accessibility & contrast

On white

1.86
#CFB3EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CFB3EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3EA
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3EA#FFFFFF#000000##000000
##CFB3EA1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AABDEC
Deuteranopia (green-blind)
#AFBEE8
Tritanopia (blue-blind)
#CCBAC6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb3ea;
/* rgb */ color: rgb(207, 179, 234);
/* oklch */ color: oklch(80.9% 0.082 307.7);
Tailwind
colors: {
  custom: {
    50: '#dec9f0',
    500: '#cfb3ea',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3ea;
$custom-light: #dec9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3ea",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 234
  },
  "hsl": {
    "h": 270.545,
    "s": 56.701,
    "l": 80.98
  },
  "oklch": {
    "l": 0.80911,
    "c": 0.0817,
    "h": 307.7
  },
  "luminance": 0.51446
}

Semantic roles & 50–950 ramp

primary
#CFB3EA
secondary
#A0C67B
accent
#C42171
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CFB3EA

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

Preview Lab → · Contrast checker → · Palette generator →

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