#CFB4FE#CFB4FE

#CFB4FE is a light, moderate violet. Relative luminance 0.531; OKLCH L 81.9% C 0.106 H 300.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#CFB4FE
RGBrgb(207, 180, 254)
HSLhsl(262, 97%, 85%)
HSVhsv(262, 29%, 100%)
CMYKcmyk(18.5%, 29.1%, 0%, 0.4%)
CIE-LABlab(77.91, 23.98, -33.03)
CIE-LCHlch(77.91, 40.81, 305.98°)
OKLaboklab(81.89% 0.0542 -0.0909)
OKLCHoklch(81.89% 0.106 300.8)
XYZxyz(59.9390, 53.0636, 100.8313)
Luminance0.5306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB4FE #E3FEB4
analogous
#B4BEFE #CFB4FE #F4B4FE
triadic
#CFB4FE #FECFB4 #B4FECF
tetradic
#CFB4FE #FEB4BE #E3FEB4 #B4FEF4
square
#CFB4FE #FEB4BE #E3FEB4 #B4FEF4
split-complementary
#CFB4FE #FEF4B4 #BEFEB4
monochromatic
#823BFC #A878FD #CFB4FE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.81
#CFB4FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#CFB4FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB4FE
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB4FE#FFFFFF#000000##000000
##CFB4FE1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4C0FF
Deuteranopia (green-blind)
#A9C0FC
Tritanopia (blue-blind)
#C7BFCE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb4fe;
/* rgb */ color: rgb(207, 180, 254);
/* oklch */ color: oklch(81.9% 0.106 300.8);
Tailwind
colors: {
  custom: {
    50: '#decaff',
    500: '#cfb4fe',
    950: '#000000',
  },
}
SCSS
$custom: #cfb4fe;
$custom-light: #decaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb4fe",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 254
  },
  "hsl": {
    "h": 261.892,
    "s": 97.368,
    "l": 85.098
  },
  "oklch": {
    "l": 0.81892,
    "c": 0.10583,
    "h": 300.8
  },
  "luminance": 0.53064
}

Semantic roles & 50–950 ramp

primary
#CFB4FE
secondary
#BBE472
accent
#E60092
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CFB4FE

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

Preview Lab → · Contrast checker → · Palette generator →

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