#CAB4FF#CAB4FF

#CAB4FF is a light, moderate violet. Relative luminance 0.524; OKLCH L 81.5% C 0.106 H 297.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#CAB4FF
RGBrgb(202, 180, 255)
HSLhsl(258, 100%, 85%)
HSVhsv(258, 29%, 100%)
CMYKcmyk(20.8%, 29.4%, 0%, 0%)
CIE-LABlab(77.53, 22.71, -34.19)
CIE-LCHlch(77.53, 41.04, 303.59°)
OKLaboklab(81.51% 0.049 -0.0942)
OKLCHoklch(81.51% 0.106 297.5)
XYZxyz(58.7244, 52.4187, 101.6124)
Luminance0.5242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB4FF #E9FFB4
analogous
#B4C3FF #CAB4FF #EFB4FF
triadic
#CAB4FF #FFCAB4 #B4FFCA
tetradic
#CAB4FF #FFB4C3 #E9FFB4 #B4FFEF
square
#CAB4FF #FFB4C3 #E9FFB4 #B4FFEF
split-complementary
#CAB4FF #FFEFB4 #C3FFB4
monochromatic
#743AFF #9F77FF #CAB4FF #E9E0FF #E9E0FF

Accessibility & contrast

On white

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

On black

11.48
#CAB4FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB4FF
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB4FF#FFFFFF#000000##000000
##CAB4FF1.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#A6BFFD
Tritanopia (blue-blind)
#C0C0CF
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cab4ff;
/* rgb */ color: rgb(202, 180, 255);
/* oklch */ color: oklch(81.5% 0.106 297.5);
Tailwind
colors: {
  custom: {
    50: '#dbcaff',
    500: '#cab4ff',
    950: '#000000',
  },
}
SCSS
$custom: #cab4ff;
$custom-light: #dbcaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cab4ff",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 255
  },
  "hsl": {
    "h": 257.6,
    "s": 100,
    "l": 85.294
  },
  "oklch": {
    "l": 0.8151,
    "c": 0.10622,
    "h": 297.5
  },
  "luminance": 0.52419
}

Semantic roles & 50–950 ramp

primary
#CAB4FF
secondary
#C4E671
accent
#E600A2
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CAB4FF

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

Preview Lab → · Contrast checker → · Palette generator →

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