#CFB2ED#CFB2ED

#CFB2ED is a light, moderate violet. Relative luminance 0.512; OKLCH L 80.8% C 0.087 H 306.9°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#CFB2ED
RGBrgb(207, 178, 237)
HSLhsl(269, 62%, 81%)
HSVhsv(269, 25%, 93%)
CMYKcmyk(12.7%, 24.9%, 0%, 7.1%)
CIE-LABlab(76.81, 21.43, -25.56)
CIE-LCHlch(76.81, 33.36, 309.98°)
OKLaboklab(80.84% 0.0523 -0.0697)
OKLCHoklch(80.84% 0.087 306.9)
XYZxyz(56.9357, 51.2209, 86.9915)
Luminance0.5122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB2ED #D0EDB2
analogous
#B2B3ED #CFB2ED #EDB2ED
triadic
#CFB2ED #EDCFB2 #B2EDCF
tetradic
#CFB2ED #EDB2B3 #D0EDB2 #B2EDED
square
#CFB2ED #EDB2B3 #D0EDB2 #B2EDED
split-complementary
#CFB2ED #EDEDB2 #B3EDB2
monochromatic
#914FD6 #B080E1 #CFB2ED #EEE4F9 #F0E6F9

Accessibility & contrast

On white

1.87
#CFB2ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.24
#CFB2ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB2ED
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB2ED#FFFFFF#000000##000000
##CFB2ED1.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BCEF
Deuteranopia (green-blind)
#ADBEEB
Tritanopia (blue-blind)
#CBBAC7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfb2ed;
/* rgb */ color: rgb(207, 178, 237);
/* oklch */ color: oklch(80.8% 0.087 306.9);
Tailwind
colors: {
  custom: {
    50: '#dec9f3',
    500: '#cfb2ed',
    950: '#000000',
  },
}
SCSS
$custom: #cfb2ed;
$custom-light: #dec9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb2ed",
  "rgb": {
    "r": 207,
    "g": 178,
    "b": 237
  },
  "hsl": {
    "h": 269.492,
    "s": 62.105,
    "l": 81.373
  },
  "oklch": {
    "l": 0.80841,
    "c": 0.08719,
    "h": 306.9
  },
  "luminance": 0.51221
}

Semantic roles & 50–950 ramp

primary
#CFB2ED
secondary
#A2CA79
accent
#CA1C74
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CFB2ED

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

Preview Lab → · Contrast checker → · Palette generator →

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