#CBAFE4#CBAFE4

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

Color values

HEX#CBAFE4
RGBrgb(203, 175, 228)
HSLhsl(272, 50%, 79%)
HSVhsv(272, 23%, 89%)
CMYKcmyk(11%, 23.2%, 0%, 10.6%)
CIE-LABlab(75.43, 19.94, -22.83)
CIE-LCHlch(75.43, 30.31, 311.13°)
OKLaboklab(79.58% 0.0495 -0.0621)
OKLCHoklch(79.58% 0.079 308.6)
XYZxyz(53.9597, 48.9583, 79.9910)
Luminance0.4896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFE4 #C8E4AF
analogous
#B1AFE4 #CBAFE4 #E4AFE3
triadic
#CBAFE4 #E4CBAF #AFE4CB
tetradic
#CBAFE4 #E4B1AF #C8E4AF #AFE3E4
square
#CBAFE4 #E4B1AF #C8E4AF #AFE3E4
split-complementary
#CBAFE4 #E3E4AF #AFE4B1
monochromatic
#9053C5 #AD81D5 #CBAFE4 #E9DDF3 #F0E8F7

Accessibility & contrast

On white

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

On black

10.79
#CBAFE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAFE4
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAFE4#FFFFFF#000000##000000
##CBAFE41.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6B9E6
Deuteranopia (green-blind)
#ACBAE2
Tritanopia (blue-blind)
#C8B6C1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cbafe4;
/* rgb */ color: rgb(203, 175, 228);
/* oklch */ color: oklch(79.6% 0.079 308.6);
Tailwind
colors: {
  custom: {
    50: '#dbc7ec',
    500: '#cbafe4',
    950: '#000000',
  },
}
SCSS
$custom: #cbafe4;
$custom-light: #dbc7ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cbafe4",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 228
  },
  "hsl": {
    "h": 271.698,
    "s": 49.533,
    "l": 79.02
  },
  "oklch": {
    "l": 0.79585,
    "c": 0.07946,
    "h": 308.6
  },
  "luminance": 0.48958
}

Semantic roles & 50–950 ramp

primary
#CBAFE4
secondary
#E5EEDD
accent
#BD296F
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151316
muted
#838284

Preview Lab

Preview with #CBAFE4

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

Preview Lab → · Contrast checker → · Palette generator →

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