#CFB8FE#CFB8FE

#CFB8FE is a very light, moderate violet. Relative luminance 0.547; OKLCH L 82.6% C 0.099 H 299.3°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#CFB8FE
RGBrgb(207, 184, 254)
HSLhsl(260, 97%, 86%)
HSVhsv(260, 28%, 100%)
CMYKcmyk(18.5%, 27.6%, 0%, 0.4%)
CIE-LABlab(78.87, 21.80, -31.55)
CIE-LCHlch(78.87, 38.35, 304.64°)
OKLaboklab(82.63% 0.0486 -0.0867)
OKLCHoklch(82.63% 0.099 299.3)
XYZxyz(60.7582, 54.7019, 101.1043)
Luminance0.5470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB8FE #E7FEB8
analogous
#B8C4FE #CFB8FE #F2B8FE
triadic
#CFB8FE #FECFB8 #B8FECF
tetradic
#CFB8FE #FEB8C4 #E7FEB8 #B8FEF2
square
#CFB8FE #FEB8C4 #E7FEB8 #B8FEF2
split-complementary
#CFB8FE #FEF2B8 #C4FEB8
monochromatic
#7D3FFC #A67CFD #CFB8FE #EBE1FF #EBE1FF

Accessibility & contrast

On white

1.76
#CFB8FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#CFB8FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB8FE
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB8FE#FFFFFF#000000##000000
##CFB8FE1.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9C3FF
Deuteranopia (green-blind)
#ADC3FC
Tritanopia (blue-blind)
#C7C3D1
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cfb8fe;
/* rgb */ color: rgb(207, 184, 254);
/* oklch */ color: oklch(82.6% 0.099 299.3);
Tailwind
colors: {
  custom: {
    50: '#decdff',
    500: '#cfb8fe',
    950: '#000000',
  },
}
SCSS
$custom: #cfb8fe;
$custom-light: #decdff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb8fe",
  "rgb": {
    "r": 207,
    "g": 184,
    "b": 254
  },
  "hsl": {
    "h": 259.714,
    "s": 97.222,
    "l": 85.882
  },
  "oklch": {
    "l": 0.82627,
    "c": 0.09941,
    "h": 299.3
  },
  "luminance": 0.54702
}

Semantic roles & 50–950 ramp

primary
#CFB8FE
secondary
#C0E575
accent
#E6009A
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CFB8FE

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

Preview Lab → · Contrast checker → · Palette generator →

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