#CFB9F2#CFB9F2

#CFB9F2 is a very light, moderate violet. Relative luminance 0.544; OKLCH L 82.3% C 0.082 H 302.3°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#CFB9F2
RGBrgb(207, 185, 242)
HSLhsl(263, 69%, 84%)
HSVhsv(263, 24%, 95%)
CMYKcmyk(14.5%, 23.6%, 0%, 5.1%)
CIE-LABlab(78.68, 18.67, -25.40)
CIE-LCHlch(78.68, 31.53, 306.32°)
OKLaboklab(82.34% 0.0438 -0.0693)
OKLCHoklch(82.34% 0.082 302.3)
XYZxyz(59.1049, 54.3741, 91.3687)
Luminance0.5437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB9F2 #DCF2B9
analogous
#B9BFF2 #CFB9F2 #EBB9F2
triadic
#CFB9F2 #F2CFB9 #B9F2CF
tetradic
#CFB9F2 #F2B9BF #DCF2B9 #B9F2EB
square
#CFB9F2 #F2B9BF #DCF2B9 #B9F2EB
split-complementary
#CFB9F2 #F2EBB9 #BFF2B9
monochromatic
#8852DF #AC85E8 #CFB9F2 #EDE5FA #EDE5FA

Accessibility & contrast

On white

1.77
#CFB9F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#CFB9F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB9F2
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB9F2#FFFFFF#000000##000000
##CFB9F21.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEC2F4
Deuteranopia (green-blind)
#B2C3F0
Tritanopia (blue-blind)
#CAC1CD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfb9f2;
/* rgb */ color: rgb(207, 185, 242);
/* oklch */ color: oklch(82.3% 0.082 302.3);
Tailwind
colors: {
  custom: {
    50: '#decef6',
    500: '#cfb9f2',
    950: '#000000',
  },
}
SCSS
$custom: #cfb9f2;
$custom-light: #decef6;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb9f2",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 242
  },
  "hsl": {
    "h": 263.158,
    "s": 68.675,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82338,
    "c": 0.08202,
    "h": 302.3
  },
  "luminance": 0.54374
}

Semantic roles & 50–950 ramp

primary
#CFB9F2
secondary
#B1D27E
accent
#D11588
background
#FEFEFF
surface
#FCFAFE
border
#D5D3D6
text
#151317
muted
#848385

Preview Lab

Preview with #CFB9F2

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

Preview Lab → · Contrast checker → · Palette generator →

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