#CAB4EF#CAB4EF

#CAB4EF is a light, moderate violet. Relative luminance 0.514; OKLCH L 80.9% C 0.085 H 301.6°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CAB4EF
RGBrgb(202, 180, 239)
HSLhsl(262, 65%, 82%)
HSVhsv(262, 25%, 94%)
CMYKcmyk(15.5%, 24.7%, 0%, 6.3%)
CIE-LABlab(76.94, 19.20, -26.48)
CIE-LCHlch(76.94, 32.71, 305.94°)
OKLaboklab(80.86% 0.0445 -0.0724)
OKLCHoklch(80.86% 0.085 301.6)
XYZxyz(56.2552, 51.4310, 88.6081)
Luminance0.5143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB4EF #D9EFB4
analogous
#B4BCEF #CAB4EF #E8B4EF
triadic
#CAB4EF #EFCAB4 #B4EFCA
tetradic
#CAB4EF #EFB4BC #D9EFB4 #B4EFE8
square
#CAB4EF #EFB4BC #D9EFB4 #B4EFE8
split-complementary
#CAB4EF #EFE8B4 #BCEFB4
monochromatic
#834FD9 #A682E4 #CAB4EF #EDE6FA #EDE6FA

Accessibility & contrast

On white

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

On black

11.29
#CAB4EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB4EF
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB4EF#FFFFFF#000000##000000
##CAB4EF1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8BEF2
Deuteranopia (green-blind)
#ACBEED
Tritanopia (blue-blind)
#C4BDC8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cab4ef;
/* rgb */ color: rgb(202, 180, 239);
/* oklch */ color: oklch(80.9% 0.085 301.6);
Tailwind
colors: {
  custom: {
    50: '#dacaf4',
    500: '#cab4ef',
    950: '#000000',
  },
}
SCSS
$custom: #cab4ef;
$custom-light: #dacaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cab4ef",
  "rgb": {
    "r": 202,
    "g": 180,
    "b": 239
  },
  "hsl": {
    "h": 262.373,
    "s": 64.835,
    "l": 82.157
  },
  "oklch": {
    "l": 0.8086,
    "c": 0.08502,
    "h": 301.6
  },
  "luminance": 0.51431
}

Semantic roles & 50–950 ramp

primary
#CAB4EF
secondary
#AECD7A
accent
#CD198A
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CAB4EF

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

Preview Lab → · Contrast checker → · Palette generator →

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