#CBACF4#CBACF4

#CBACF4 is a light, moderate violet. Relative luminance 0.487; OKLCH L 79.7% C 0.105 H 303.8°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CBACF4
RGBrgb(203, 172, 244)
HSLhsl(266, 77%, 82%)
HSVhsv(266, 30%, 96%)
CMYKcmyk(16.8%, 29.5%, 0%, 4.3%)
CIE-LABlab(75.29, 24.96, -31.72)
CIE-LCHlch(75.29, 40.36, 308.20°)
OKLaboklab(79.67% 0.0584 -0.0872)
OKLCHoklch(79.67% 0.105 303.8)
XYZxyz(55.7070, 48.7333, 92.0421)
Luminance0.4873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBACF4 #D5F4AC
analogous
#ACB1F4 #CBACF4 #EFACF4
triadic
#CBACF4 #F4CBAC #ACF4CB
tetradic
#CBACF4 #F4ACB1 #D5F4AC #ACF4EF
square
#CBACF4 #F4ACB1 #D5F4AC #ACF4EF
split-complementary
#CBACF4 #F4EFAC #B1F4AC
monochromatic
#8740E6 #A976ED #CBACF4 #EDE2FB #EEE4FB

Accessibility & contrast

On white

1.95
#CBACF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CBACF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBACF4
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBACF4#FFFFFF#000000##000000
##CBACF41.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EB9F7
Deuteranopia (green-blind)
#A3B9F2
Tritanopia (blue-blind)
#C5B7C6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbacf4;
/* rgb */ color: rgb(203, 172, 244);
/* oklch */ color: oklch(79.7% 0.105 303.8);
Tailwind
colors: {
  custom: {
    50: '#dbc5f8',
    500: '#cbacf4',
    950: '#000000',
  },
}
SCSS
$custom: #cbacf4;
$custom-light: #dbc5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cbacf4",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 244
  },
  "hsl": {
    "h": 265.833,
    "s": 76.596,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79669,
    "c": 0.10494,
    "h": 303.8
  },
  "luminance": 0.48733
}

Semantic roles & 50–950 ramp

primary
#CBACF4
secondary
#E7F3D8
accent
#D90D81
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBACF4

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

Preview Lab → · Contrast checker → · Palette generator →

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