#CBAFEC#CBAFEC

#CBAFEC is a light, moderate violet. Relative luminance 0.494; OKLCH L 79.9% C 0.090 H 305.4°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CBAFEC
RGBrgb(203, 175, 236)
HSLhsl(268, 62%, 81%)
HSVhsv(268, 26%, 93%)
CMYKcmyk(14%, 25.8%, 0%, 7.5%)
CIE-LABlab(75.71, 21.61, -26.74)
CIE-LCHlch(75.71, 34.38, 308.94°)
OKLaboklab(79.9% 0.0519 -0.0731)
OKLCHoklch(79.9% 0.09 305.4)
XYZxyz(55.0960, 49.4128, 85.9757)
Luminance0.4941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFEC #D0ECAF
analogous
#AFB1EC #CBAFEC #E9AFEC
triadic
#CBAFEC #ECCBAF #AFECCB
tetradic
#CBAFEC #ECAFB1 #D0ECAF #AFECE9
square
#CBAFEC #ECAFB1 #D0ECAF #AFECE9
split-complementary
#CBAFEC #ECE9AF #B1ECAF
monochromatic
#8B4CD5 #AB7EE0 #CBAFEC #EBE0F8 #EFE6F9

Accessibility & contrast

On white

1.93
#CBAFEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CBAFEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAFEC
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAFEC#FFFFFF#000000##000000
##CBAFEC1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BAEF
Deuteranopia (green-blind)
#A9BBEA
Tritanopia (blue-blind)
#C6B7C4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cbafec;
/* rgb */ color: rgb(203, 175, 236);
/* oklch */ color: oklch(79.9% 0.090 305.4);
Tailwind
colors: {
  custom: {
    50: '#dbc7f2',
    500: '#cbafec',
    950: '#000000',
  },
}
SCSS
$custom: #cbafec;
$custom-light: #dbc7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cbafec",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 236
  },
  "hsl": {
    "h": 267.541,
    "s": 61.616,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79896,
    "c": 0.08966,
    "h": 305.4
  },
  "luminance": 0.49413
}

Semantic roles & 50–950 ramp

primary
#CBAFEC
secondary
#E6F0DB
accent
#C91C7A
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CBAFEC

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

Preview Lab → · Contrast checker → · Palette generator →

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