#CBACF8#CBACF8

#CBACF8 is a light, moderate violet. Relative luminance 0.490; OKLCH L 79.8% C 0.110 H 302.7°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CBACF8
RGBrgb(203, 172, 248)
HSLhsl(264, 84%, 82%)
HSVhsv(264, 31%, 97%)
CMYKcmyk(18.1%, 30.6%, 0%, 2.7%)
CIE-LABlab(75.44, 25.84, -33.64)
CIE-LCHlch(75.44, 42.42, 307.52°)
OKLaboklab(79.84% 0.0595 -0.0926)
OKLCHoklch(79.84% 0.11 302.7)
XYZxyz(56.3209, 48.9789, 95.2755)
Luminance0.4898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBACF8 #D9F8AC
analogous
#ACB3F8 #CBACF8 #F1ACF8
triadic
#CBACF8 #F8CBAC #ACF8CB
tetradic
#CBACF8 #F8ACB3 #D9F8AC #ACF8F1
square
#CBACF8 #F8ACB3 #D9F8AC #ACF8F1
split-complementary
#CBACF8 #F8F1AC #B3F8AC
monochromatic
#843BEE #A874F3 #CBACF8 #EDE3FD #EDE3FD

Accessibility & contrast

On white

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

On black

10.80
#CBACF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBACF8
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBACF8#FFFFFF#000000##000000
##CBACF81.001.9510.8010.80
#FFFFFF1.951.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB9FB
Deuteranopia (green-blind)
#A2BAF6
Tritanopia (blue-blind)
#C4B7C7
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbacf8;
/* rgb */ color: rgb(203, 172, 248);
/* oklch */ color: oklch(79.8% 0.110 302.7);
Tailwind
colors: {
  custom: {
    50: '#dbc5fa',
    500: '#cbacf8',
    950: '#000000',
  },
}
SCSS
$custom: #cbacf8;
$custom-light: #dbc5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cbacf8",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 248
  },
  "hsl": {
    "h": 264.474,
    "s": 84.444,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79837,
    "c": 0.11009,
    "h": 302.7
  },
  "luminance": 0.48979
}

Semantic roles & 50–950 ramp

primary
#CBACF8
secondary
#E8F5D6
accent
#E10587
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CBACF8

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

Preview Lab → · Contrast checker → · Palette generator →

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