#CBAFFD#CBAFFD

#CBAFFD is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.6% C 0.112 H 300.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#CBAFFD
RGBrgb(203, 175, 253)
HSLhsl(262, 95%, 84%)
HSVhsv(262, 31%, 99%)
CMYKcmyk(19.8%, 30.8%, 0%, 0.8%)
CIE-LABlab(76.34, 25.30, -34.94)
CIE-LCHlch(76.34, 43.13, 305.90°)
OKLaboklab(80.59% 0.0565 -0.0964)
OKLCHoklch(80.59% 0.112 300.4)
XYZxyz(57.6844, 50.4482, 99.6079)
Luminance0.5045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBAFFD #E1FDAF
analogous
#AFBAFD #CBAFFD #F2AFFD
triadic
#CBAFFD #FDCBAF #AFFDCB
tetradic
#CBAFFD #FDAFBA #E1FDAF #AFFDF2
square
#CBAFFD #FDAFBA #E1FDAF #AFFDF2
split-complementary
#CBAFFD #FDF2AF #BAFDAF
monochromatic
#7D38FA #A473FC #CBAFFD #ECE1FE #ECE1FE

Accessibility & contrast

On white

1.89
#CBAFFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#CBAFFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBAFFD
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBAFFD#FFFFFF#000000##000000
##CBAFFD1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBCFF
Deuteranopia (green-blind)
#A3BCFB
Tritanopia (blue-blind)
#C2BBCB
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #cbaffd;
/* rgb */ color: rgb(203, 175, 253);
/* oklch */ color: oklch(80.6% 0.112 300.4);
Tailwind
colors: {
  custom: {
    50: '#dcc7fe',
    500: '#cbaffd',
    950: '#000000',
  },
}
SCSS
$custom: #cbaffd;
$custom-light: #dcc7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cbaffd",
  "rgb": {
    "r": 203,
    "g": 175,
    "b": 253
  },
  "hsl": {
    "h": 261.538,
    "s": 95.122,
    "l": 83.922
  },
  "oklch": {
    "l": 0.80594,
    "c": 0.11172,
    "h": 300.4
  },
  "luminance": 0.50448
}

Semantic roles & 50–950 ramp

primary
#CBAFFD
secondary
#B8E26E
accent
#E60093
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CBAFFD

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

Preview Lab → · Contrast checker → · Palette generator →

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