#CFB9FF#CFB9FF

#CFB9FF is a very light, moderate violet. Relative luminance 0.552; OKLCH L 82.9% C 0.099 H 298.6°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CFB9FF
RGBrgb(207, 185, 255)
HSLhsl(259, 100%, 86%)
HSVhsv(259, 27%, 100%)
CMYKcmyk(18.8%, 27.5%, 0%, 0%)
CIE-LABlab(79.15, 21.47, -31.66)
CIE-LCHlch(79.15, 38.25, 304.15°)
OKLaboklab(82.85% 0.0475 -0.087)
OKLCHoklch(82.85% 0.099 298.6)
XYZxyz(61.1272, 55.1831, 102.0194)
Luminance0.5518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB9FF #E9FFB9
analogous
#B9C6FF #CFB9FF #F2B9FF
triadic
#CFB9FF #FFCFB9 #B9FFCF
tetradic
#CFB9FF #FFB9C6 #E9FFB9 #B9FFF2
square
#CFB9FF #FFB9C6 #E9FFB9 #B9FFF2
split-complementary
#CFB9FF #FFF2B9 #C6FFB9
monochromatic
#7B3FFF #A57CFF #CFB9FF #EAE0FF #EAE0FF

Accessibility & contrast

On white

1.74
#CFB9FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CFB9FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB9FF
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB9FF#FFFFFF#000000##000000
##CFB9FF1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AAC4FF
Deuteranopia (green-blind)
#ADC3FD
Tritanopia (blue-blind)
#C6C4D2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfb9ff;
/* rgb */ color: rgb(207, 185, 255);
/* oklch */ color: oklch(82.9% 0.099 298.6);
Tailwind
colors: {
  custom: {
    50: '#deceff',
    500: '#cfb9ff',
    950: '#000000',
  },
}
SCSS
$custom: #cfb9ff;
$custom-light: #deceff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb9ff",
  "rgb": {
    "r": 207,
    "g": 185,
    "b": 255
  },
  "hsl": {
    "h": 258.857,
    "s": 100,
    "l": 86.275
  },
  "oklch": {
    "l": 0.82853,
    "c": 0.09915,
    "h": 298.6
  },
  "luminance": 0.55183
}

Semantic roles & 50–950 ramp

primary
#CFB9FF
secondary
#C3E775
accent
#E6009D
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CFB9FF

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

Preview Lab → · Contrast checker → · Palette generator →

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