#CFB3EC#CFB3EC

#CFB3EC is a light, moderate violet. Relative luminance 0.516; OKLCH L 81.0% C 0.084 H 306.9°. Best body text is #000000 at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#CFB3EC
RGBrgb(207, 179, 236)
HSLhsl(269, 60%, 81%)
HSVhsv(269, 24%, 93%)
CMYKcmyk(12.3%, 24.2%, 0%, 7.5%)
CIE-LABlab(77.02, 20.68, -24.71)
CIE-LCHlch(77.02, 32.22, 309.93°)
OKLaboklab(80.99% 0.0506 -0.0673)
OKLCHoklch(80.99% 0.084 306.9)
XYZxyz(56.9897, 51.5620, 86.2908)
Luminance0.5156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3EC #D0ECB3
analogous
#B3B4EC #CFB3EC #ECB3EC
triadic
#CFB3EC #ECCFB3 #B3ECCF
tetradic
#CFB3EC #ECB3B4 #D0ECB3 #B3ECEC
square
#CFB3EC #ECB3B4 #D0ECB3 #B3ECEC
split-complementary
#CFB3EC #ECECB3 #B4ECB3
monochromatic
#9151D4 #B082E0 #CFB3EC #EEE4F8 #F0E7F9

Accessibility & contrast

On white

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

On black

11.31
#CFB3EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3EC
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3EC#FFFFFF#000000##000000
##CFB3EC1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BDEE
Deuteranopia (green-blind)
#AEBEEA
Tritanopia (blue-blind)
#CBBBC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb3ec;
/* rgb */ color: rgb(207, 179, 236);
/* oklch */ color: oklch(81.0% 0.084 306.9);
Tailwind
colors: {
  custom: {
    50: '#dec9f2',
    500: '#cfb3ec',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3ec;
$custom-light: #dec9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3ec",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 236
  },
  "hsl": {
    "h": 269.474,
    "s": 60,
    "l": 81.373
  },
  "oklch": {
    "l": 0.80988,
    "c": 0.08424,
    "h": 306.9
  },
  "luminance": 0.51562
}

Semantic roles & 50–950 ramp

primary
#CFB3EC
secondary
#A2C97A
accent
#C81E74
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB3EC

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

Preview Lab → · Contrast checker → · Palette generator →

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