#CBACFE#CBACFE

#CBACFE is a light, moderate violet. Relative luminance 0.494; OKLCH L 80.1% C 0.118 H 301.2°. Best body text is #000000 at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#CBACFE
RGBrgb(203, 172, 254)
HSLhsl(263, 98%, 84%)
HSVhsv(263, 32%, 100%)
CMYKcmyk(20.1%, 32.3%, 0%, 0.4%)
CIE-LABlab(75.67, 27.16, -36.52)
CIE-LCHlch(75.67, 45.51, 306.64°)
OKLaboklab(80.09% 0.061 -0.1008)
OKLCHoklch(80.09% 0.118 301.2)
XYZxyz(57.2667, 49.3572, 100.2566)
Luminance0.4936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBACFE #DFFEAC
analogous
#ACB6FE #CBACFE #F4ACFE
triadic
#CBACFE #FECBAC #ACFECB
tetradic
#CBACFE #FEACB6 #DFFEAC #ACFEF4
square
#CBACFE #FEACB6 #DFFEAC #ACFEF4
split-complementary
#CBACFE #FEF4AC #B6FEAC
monochromatic
#7F33FD #A570FD #CBACFE #ECE1FF #ECE1FF

Accessibility & contrast

On white

1.93
#CBACFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.87
#CBACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBACFE
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBACFE#FFFFFF#000000##000000
##CBACFE1.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9ABAFF
Deuteranopia (green-blind)
#9FBAFC
Tritanopia (blue-blind)
#C2B9CA
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbacfe;
/* rgb */ color: rgb(203, 172, 254);
/* oklch */ color: oklch(80.1% 0.118 301.2);
Tailwind
colors: {
  custom: {
    50: '#dcc5ff',
    500: '#cbacfe',
    950: '#000000',
  },
}
SCSS
$custom: #cbacfe;
$custom-light: #dcc5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cbacfe",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 262.683,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80094,
    "c": 0.11784,
    "h": 301.2
  },
  "luminance": 0.49357
}

Semantic roles & 50–950 ramp

primary
#CBACFE
secondary
#EAF7D4
accent
#E6008F
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151218
muted
#838186

Preview Lab

Preview with #CBACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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