#CAB5FA#CAB5FA

#CAB5FA is a light, moderate violet. Relative luminance 0.525; OKLCH L 81.5% C 0.098 H 298.2°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CAB5FA
RGBrgb(202, 181, 250)
HSLhsl(258, 87%, 85%)
HSVhsv(258, 28%, 98%)
CMYKcmyk(19.2%, 27.6%, 0%, 2%)
CIE-LABlab(77.58, 21.05, -31.42)
CIE-LCHlch(77.58, 37.82, 303.82°)
OKLaboklab(81.49% 0.0463 -0.0864)
OKLCHoklch(81.49% 0.098 298.2)
XYZxyz(58.1326, 52.5061, 97.4960)
Luminance0.5251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB5FA #E5FAB5
analogous
#B5C3FA #CAB5FA #EDB5FA
triadic
#CAB5FA #FACAB5 #B5FACA
tetradic
#CAB5FA #FAB5C3 #E5FAB5 #B5FAED
square
#CAB5FA #FAB5C3 #E5FAB5 #B5FAED
split-complementary
#CAB5FA #FAEDB5 #C3FAB5
monochromatic
#7842F2 #A17CF6 #CAB5FA #EAE2FD #EAE2FD

Accessibility & contrast

On white

1.83
#CAB5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CAB5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB5FA
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB5FA#FFFFFF#000000##000000
##CAB5FA1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C0FD
Deuteranopia (green-blind)
#A9BFF8
Tritanopia (blue-blind)
#C1C0CD
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cab5fa;
/* rgb */ color: rgb(202, 181, 250);
/* oklch */ color: oklch(81.5% 0.098 298.2);
Tailwind
colors: {
  custom: {
    50: '#dbcbfc',
    500: '#cab5fa',
    950: '#000000',
  },
}
SCSS
$custom: #cab5fa;
$custom-light: #dbcbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cab5fa",
  "rgb": {
    "r": 202,
    "g": 181,
    "b": 250
  },
  "hsl": {
    "h": 258.261,
    "s": 87.342,
    "l": 84.51
  },
  "oklch": {
    "l": 0.81488,
    "c": 0.09799,
    "h": 298.2
  },
  "luminance": 0.52506
}

Semantic roles & 50–950 ramp

primary
#CAB5FA
secondary
#BEDE75
accent
#E4029F
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CAB5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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