#CFB5FC#CFB5FC

#CFB5FC is a light, moderate violet. Relative luminance 0.533; OKLCH L 82.0% C 0.102 H 301.0°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CFB5FC
RGBrgb(207, 181, 252)
HSLhsl(262, 92%, 85%)
HSVhsv(262, 28%, 99%)
CMYKcmyk(17.9%, 28.2%, 0%, 1.2%)
CIE-LABlab(78.08, 23.00, -31.70)
CIE-LCHlch(78.08, 39.16, 305.96°)
OKLaboklab(81.99% 0.0523 -0.0871)
OKLCHoklch(81.99% 0.102 301)
XYZxyz(59.8230, 53.3413, 99.2209)
Luminance0.5334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB5FC #E2FCB5
analogous
#B5BEFC #CFB5FC #F3B5FC
triadic
#CFB5FC #FCCFB5 #B5FCCF
tetradic
#CFB5FC #FCB5BE #E2FCB5 #B5FCF3
square
#CFB5FC #FCB5BE #E2FCB5 #B5FCF3
split-complementary
#CFB5FC #FCF3B5 #BEFCB5
monochromatic
#833FF7 #A97AFA #CFB5FC #ECE2FE #ECE2FE

Accessibility & contrast

On white

1.80
#CFB5FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CFB5FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB5FC
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB5FC#FFFFFF#000000##000000
##CFB5FC1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C1FF
Deuteranopia (green-blind)
#ABC1FA
Tritanopia (blue-blind)
#C7C0CE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfb5fc;
/* rgb */ color: rgb(207, 181, 252);
/* oklch */ color: oklch(82.0% 0.102 301.0);
Tailwind
colors: {
  custom: {
    50: '#decbfd',
    500: '#cfb5fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfb5fc;
$custom-light: #decbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb5fc",
  "rgb": {
    "r": 207,
    "g": 181,
    "b": 252
  },
  "hsl": {
    "h": 261.972,
    "s": 92.208,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81992,
    "c": 0.1016,
    "h": 301
  },
  "luminance": 0.53341
}

Semantic roles & 50–950 ramp

primary
#CFB5FC
secondary
#B9E174
accent
#E60091
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CFB5FC

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

Preview Lab → · Contrast checker → · Palette generator →

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