#CBAFE5#CBAFE5

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

Color values

HEX#CBAFE5
RGBrgb(203, 175, 229)
HSLhsl(271, 51%, 79%)
HSVhsv(271, 24%, 90%)
CMYKcmyk(11.4%, 23.6%, 0%, 10.2%)
CIE-LABlab(75.46, 20.14, -23.32)
CIE-LCHlch(75.46, 30.82, 310.82°)
OKLaboklab(79.62% 0.0499 -0.0635)
OKLCHoklch(79.62% 0.081 308.1)
XYZxyz(54.0989, 49.0139, 80.7242)
Luminance0.4901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFE5 #C9E5AF
analogous
#B0AFE5 #CBAFE5 #E5AFE4
triadic
#CBAFE5 #E5CBAF #AFE5CB
tetradic
#CBAFE5 #E5B0AF #C9E5AF #AFE4E5
square
#CBAFE5 #E5B0AF #C9E5AF #AFE4E5
split-complementary
#CBAFE5 #E4E5AF #AFE5B0
monochromatic
#8F53C7 #AD81D6 #CBAFE5 #E9DDF4 #F0E8F7

Accessibility & contrast

On white

1.94
#CBAFE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CBAFE5#FFFFFF#000000##000000
##CBAFE51.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B9E7
Deuteranopia (green-blind)
#ABBAE3
Tritanopia (blue-blind)
#C8B6C2
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbafe5;
/* rgb */ color: rgb(203, 175, 229);
/* oklch */ color: oklch(79.6% 0.081 308.1);
Tailwind
colors: {
  custom: {
    50: '#dbc7ed',
    500: '#cbafe5',
    950: '#000000',
  },
}
SCSS
$custom: #cbafe5;
$custom-light: #dbc7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cbafe5",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 229
  },
  "hsl": {
    "h": 271.111,
    "s": 50.943,
    "l": 79.216
  },
  "oklch": {
    "l": 0.79623,
    "c": 0.08073,
    "h": 308.1
  },
  "luminance": 0.49014
}

Semantic roles & 50–950 ramp

primary
#CBAFE5
secondary
#E5EFDC
accent
#BE2770
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CBAFE5

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

Preview Lab → · Contrast checker → · Palette generator →

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