#CBAFEF#CBAFEF

#CBAFEF is a light, moderate violet. Relative luminance 0.496; OKLCH L 80.0% C 0.094 H 304.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#CBAFEF
RGBrgb(203, 175, 239)
HSLhsl(266, 67%, 81%)
HSVhsv(266, 27%, 94%)
CMYKcmyk(15.1%, 26.8%, 0%, 6.3%)
CIE-LABlab(75.82, 22.25, -28.20)
CIE-LCHlch(75.82, 35.92, 308.27°)
OKLaboklab(80.02% 0.0528 -0.0772)
OKLCHoklch(80.02% 0.094 304.4)
XYZxyz(55.5355, 49.5886, 88.2905)
Luminance0.4959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFEF #D3EFAF
analogous
#AFB3EF #CBAFEF #EBAFEF
triadic
#CBAFEF #EFCBAF #AFEFCB
tetradic
#CBAFEF #EFAFB3 #D3EFAF #AFEFEB
square
#CBAFEF #EFAFB3 #D3EFAF #AFEFEB
split-complementary
#CBAFEF #EFEBAF #B3EFAF
monochromatic
#8949DB #AA7CE5 #CBAFEF #ECE2F9 #EEE5FA

Accessibility & contrast

On white

1.92
#CBAFEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#CBAFEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAFEF
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAFEF#FFFFFF#000000##000000
##CBAFEF1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BAF2
Deuteranopia (green-blind)
#A8BBED
Tritanopia (blue-blind)
#C6B8C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cbafef;
/* rgb */ color: rgb(203, 175, 239);
/* oklch */ color: oklch(80.0% 0.094 304.4);
Tailwind
colors: {
  custom: {
    50: '#dbc7f4',
    500: '#cbafef',
    950: '#000000',
  },
}
SCSS
$custom: #cbafef;
$custom-light: #dbc7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cbafef",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 239
  },
  "hsl": {
    "h": 266.25,
    "s": 66.667,
    "l": 81.176
  },
  "oklch": {
    "l": 0.80015,
    "c": 0.09353,
    "h": 304.4
  },
  "luminance": 0.49588
}

Semantic roles & 50–950 ramp

primary
#CBAFEF
secondary
#E7F1DA
accent
#CF177E
background
#FDFCFE
surface
#FBF8FD
border
#D4D1D5
text
#151317
muted
#838285

Preview Lab

Preview with #CBAFEF

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

Preview Lab → · Contrast checker → · Palette generator →

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