#CBABE7#CBABE7

#CBABE7 is a light, moderate violet. Relative luminance 0.476; OKLCH L 79.0% C 0.090 H 308.6°. Best body text is #000000 at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#CBABE7
RGBrgb(203, 171, 231)
HSLhsl(272, 56%, 79%)
HSVhsv(272, 26%, 91%)
CMYKcmyk(12.1%, 26%, 0%, 9.4%)
CIE-LABlab(74.57, 22.75, -25.77)
CIE-LCHlch(74.57, 34.38, 311.43°)
OKLaboklab(78.96% 0.0563 -0.0703)
OKLCHoklch(78.96% 0.09 308.6)
XYZxyz(53.6127, 47.5923, 81.9477)
Luminance0.4759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBABE7 #C7E7AB
analogous
#ADABE7 #CBABE7 #E7ABE5
triadic
#CBABE7 #E7CBAB #ABE7CB
tetradic
#CBABE7 #E7ADAB #C7E7AB #ABE5E7
square
#CBABE7 #E7ADAB #C7E7AB #ABE5E7
split-complementary
#CBABE7 #E5E7AB #ABE7AD
monochromatic
#904CCC #AE7BD9 #CBABE7 #E8DBF5 #F0E7F8

Accessibility & contrast

On white

2.00
#CBABE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.52
#CBABE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBABE7
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBABE7#FFFFFF#000000##000000
##CBABE71.002.0010.5210.52
#FFFFFF2.001.0021.0021.00
#00000010.5221.001.001.00
##00000010.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1B6E9
Deuteranopia (green-blind)
#A7B8E5
Tritanopia (blue-blind)
#C8B3C0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cbabe7;
/* rgb */ color: rgb(203, 171, 231);
/* oklch */ color: oklch(79.0% 0.090 308.6);
Tailwind
colors: {
  custom: {
    50: '#dbc4ee',
    500: '#cbabe7',
    950: '#000000',
  },
}
SCSS
$custom: #cbabe7;
$custom-light: #dbc4ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cbabe7",
  "rgb": {
    "r": 203,
    "g": 171,
    "b": 231
  },
  "hsl": {
    "h": 272,
    "s": 55.556,
    "l": 78.824
  },
  "oklch": {
    "l": 0.78959,
    "c": 0.09008,
    "h": 308.6
  },
  "luminance": 0.47592
}

Semantic roles & 50–950 ramp

primary
#CBABE7
secondary
#E5EFDC
accent
#C3226D
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151216
muted
#838184

Preview Lab

Preview with #CBABE7

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

Preview Lab → · Contrast checker → · Palette generator →

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