#CFB3EB#CFB3EB

#CFB3EB is a light, moderate violet. Relative luminance 0.515; OKLCH L 80.9% C 0.083 H 307.3°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CFB3EB
RGBrgb(207, 179, 235)
HSLhsl(270, 58%, 81%)
HSVhsv(270, 24%, 92%)
CMYKcmyk(11.9%, 23.8%, 0%, 7.8%)
CIE-LABlab(76.98, 20.47, -24.22)
CIE-LCHlch(76.98, 31.71, 310.21°)
OKLaboklab(80.95% 0.0503 -0.066)
OKLCHoklch(80.95% 0.083 307.3)
XYZxyz(56.8449, 51.5041, 85.5278)
Luminance0.5150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB3EB #CFEBB3
analogous
#B3B3EB #CFB3EB #EBB3EB
triadic
#CFB3EB #EBCFB3 #B3EBCF
tetradic
#CFB3EB #EBB3B3 #CFEBB3 #B3EBEB
square
#CFB3EB #EBB3B3 #CFEBB3 #B3EBEB
split-complementary
#CFB3EB #EBEBB3 #B3EBB3
monochromatic
#9252D1 #B083DE #CFB3EB #EEE3F8 #F0E7F9

Accessibility & contrast

On white

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

On black

11.30
#CFB3EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB3EB
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB3EB#FFFFFF#000000##000000
##CFB3EB1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9BDED
Deuteranopia (green-blind)
#AFBEE9
Tritanopia (blue-blind)
#CBBAC6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb3eb;
/* rgb */ color: rgb(207, 179, 235);
/* oklch */ color: oklch(80.9% 0.083 307.3);
Tailwind
colors: {
  custom: {
    50: '#dec9f1',
    500: '#cfb3eb',
    950: '#000000',
  },
}
SCSS
$custom: #cfb3eb;
$custom-light: #dec9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb3eb",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 58.333,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80949,
    "c": 0.08297,
    "h": 307.3
  },
  "luminance": 0.51504
}

Semantic roles & 50–950 ramp

primary
#CFB3EB
secondary
#A1C77B
accent
#C62073
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151316
muted
#848285

Preview Lab

Preview with #CFB3EB

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

Preview Lab → · Contrast checker → · Palette generator →

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