#CBACEF#CBACEF

#CBACEF is a light, moderate violet. Relative luminance 0.484; OKLCH L 79.5% C 0.099 H 305.4°. Best body text is #000000 at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#CBACEF
RGBrgb(203, 172, 239)
HSLhsl(268, 68%, 81%)
HSVhsv(268, 28%, 94%)
CMYKcmyk(15.1%, 28%, 0%, 6.3%)
CIE-LABlab(75.10, 23.89, -29.30)
CIE-LCHlch(75.10, 37.80, 309.19°)
OKLaboklab(79.46% 0.0571 -0.0803)
OKLCHoklch(79.46% 0.099 305.4)
XYZxyz(54.9581, 48.4338, 88.0980)
Luminance0.4843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBACEF #D0EFAC
analogous
#ACAEEF #CBACEF #ECACEF
triadic
#CBACEF #EFCBAC #ACEFCB
tetradic
#CBACEF #EFACAE #D0EFAC #ACEFEC
square
#CBACEF #EFACAE #D0EFAC #ACEFEC
split-complementary
#CBACEF #EFECAC #AEEFAC
monochromatic
#8B45DB #AB79E5 #CBACEF #EBDFF9 #EFE5FA

Accessibility & contrast

On white

1.97
#CBACEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.69
#CBACEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBACEF
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBACEF#FFFFFF#000000##000000
##CBACEF1.001.9710.6910.69
#FFFFFF1.971.0021.0021.00
#00000010.6921.001.001.00
##00000010.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB8F2
Deuteranopia (green-blind)
#A5B9ED
Tritanopia (blue-blind)
#C6B5C4
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cbacef;
/* rgb */ color: rgb(203, 172, 239);
/* oklch */ color: oklch(79.5% 0.099 305.4);
Tailwind
colors: {
  custom: {
    50: '#dbc5f4',
    500: '#cbacef',
    950: '#000000',
  },
}
SCSS
$custom: #cbacef;
$custom-light: #dbc5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbacef",
  "rgb": {
    "r": 203,
    "g": 172,
    "b": 239
  },
  "hsl": {
    "h": 267.761,
    "s": 67.677,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79463,
    "c": 0.09853,
    "h": 305.4
  },
  "luminance": 0.48434
}

Semantic roles & 50–950 ramp

primary
#CBACEF
secondary
#E6F2D9
accent
#D0167A
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151217
muted
#838185

Preview Lab

Preview with #CBACEF

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

Preview Lab → · Contrast checker → · Palette generator →

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