#CAB2FD#CAB2FD

#CAB2FD is a light, moderate violet. Relative luminance 0.515; OKLCH L 81.1% C 0.107 H 298.7°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#CAB2FD
RGBrgb(202, 178, 253)
HSLhsl(259, 95%, 85%)
HSVhsv(259, 30%, 99%)
CMYKcmyk(20.2%, 29.6%, 0%, 0.8%)
CIE-LABlab(76.97, 23.36, -33.97)
CIE-LCHlch(76.97, 41.23, 304.51°)
OKLaboklab(81.06% 0.0512 -0.0936)
OKLCHoklch(81.06% 0.107 298.7)
XYZxyz(58.0033, 51.4889, 99.7920)
Luminance0.5149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2FD #E5FDB2
analogous
#B2C0FD #CAB2FD #F0B2FD
triadic
#CAB2FD #FDCAB2 #B2FDCA
tetradic
#CAB2FD #FDB2C0 #E5FDB2 #B2FDF0
square
#CAB2FD #FDB2C0 #E5FDB2 #B2FDF0
split-complementary
#CAB2FD #FDF0B2 #C0FDB2
monochromatic
#783BFA #A176FB #CAB2FD #EAE1FE #EAE1FE

Accessibility & contrast

On white

1.86
#CAB2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#CAB2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2FD
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2FD#FFFFFF#000000##000000
##CAB2FD1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BEFF
Deuteranopia (green-blind)
#A5BDFB
Tritanopia (blue-blind)
#C1BECD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cab2fd;
/* rgb */ color: rgb(202, 178, 253);
/* oklch */ color: oklch(81.1% 0.107 298.7);
Tailwind
colors: {
  custom: {
    50: '#dbc9fe',
    500: '#cab2fd',
    950: '#000000',
  },
}
SCSS
$custom: #cab2fd;
$custom-light: #dbc9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2fd",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 253
  },
  "hsl": {
    "h": 259.2,
    "s": 94.937,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81057,
    "c": 0.10673,
    "h": 298.7
  },
  "luminance": 0.51489
}

Semantic roles & 50–950 ramp

primary
#CAB2FD
secondary
#BEE271
accent
#E6009C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CAB2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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