#CAB8FF#CAB8FF

#CAB8FF is a very light, moderate violet. Relative luminance 0.541; OKLCH L 82.3% C 0.100 H 295.8°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#CAB8FF
RGBrgb(202, 184, 255)
HSLhsl(255, 100%, 86%)
HSVhsv(255, 28%, 100%)
CMYKcmyk(20.8%, 27.8%, 0%, 0%)
CIE-LABlab(78.50, 20.52, -32.70)
CIE-LCHlch(78.50, 38.60, 302.11°)
OKLaboklab(82.25% 0.0435 -0.09)
OKLCHoklch(82.25% 0.1 295.8)
XYZxyz(59.5435, 54.0571, 101.8854)
Luminance0.5406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB8FF #EDFFB8
analogous
#B8C9FF #CAB8FF #EDB8FF
triadic
#CAB8FF #FFCAB8 #B8FFCA
tetradic
#CAB8FF #FFB8C9 #EDFFB8 #B8FFED
square
#CAB8FF #FFB8C9 #EDFFB8 #B8FFED
split-complementary
#CAB8FF #FFEDB8 #C9FFB8
monochromatic
#6F3EFF #9C7BFF #CAB8FF #E8E0FF #E8E0FF

Accessibility & contrast

On white

1.78
#CAB8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#CAB8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB8FF
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB8FF#FFFFFF#000000##000000
##CAB8FF1.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C3FF
Deuteranopia (green-blind)
#AAC1FD
Tritanopia (blue-blind)
#C0C3D1
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cab8ff;
/* rgb */ color: rgb(202, 184, 255);
/* oklch */ color: oklch(82.3% 0.100 295.8);
Tailwind
colors: {
  custom: {
    50: '#dbcdff',
    500: '#cab8ff',
    950: '#000000',
  },
}
SCSS
$custom: #cab8ff;
$custom-light: #dbcdff;
$custom-dark: #000000;
JSON
{
  "hex": "#cab8ff",
  "rgb": {
    "r": 202,
    "g": 184,
    "b": 255
  },
  "hsl": {
    "h": 255.211,
    "s": 100,
    "l": 86.078
  },
  "oklch": {
    "l": 0.82252,
    "c": 0.09998,
    "h": 295.8
  },
  "luminance": 0.54058
}

Semantic roles & 50–950 ramp

primary
#CAB8FF
secondary
#CAE775
accent
#E600AB
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CAB8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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