#CAB2EF#CAB2EF

#CAB2EF is a light, moderate violet. Relative luminance 0.506; OKLCH L 80.5% C 0.088 H 302.5°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#CAB2EF
RGBrgb(202, 178, 239)
HSLhsl(264, 66%, 82%)
HSVhsv(264, 26%, 94%)
CMYKcmyk(15.5%, 25.5%, 0%, 6.3%)
CIE-LABlab(76.45, 20.29, -27.23)
CIE-LCHlch(76.45, 33.96, 306.70°)
OKLaboklab(80.49% 0.0474 -0.0745)
OKLCHoklch(80.49% 0.088 302.5)
XYZxyz(55.8544, 50.6294, 88.4745)
Luminance0.5063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2EF #D7EFB2
analogous
#B2B9EF #CAB2EF #E9B2EF
triadic
#CAB2EF #EFCAB2 #B2EFCA
tetradic
#CAB2EF #EFB2B9 #D7EFB2 #B2EFE9
square
#CAB2EF #EFB2B9 #D7EFB2 #B2EFE9
split-complementary
#CAB2EF #EFE9B2 #B9EFB2
monochromatic
#844DDA #A77FE4 #CAB2EF #EDE5FA #EEE6FA

Accessibility & contrast

On white

1.89
#CAB2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#CAB2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2EF
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2EF#FFFFFF#000000##000000
##CAB2EF1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6BCF2
Deuteranopia (green-blind)
#AABCED
Tritanopia (blue-blind)
#C4BBC7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #cab2ef;
/* rgb */ color: rgb(202, 178, 239);
/* oklch */ color: oklch(80.5% 0.088 302.5);
Tailwind
colors: {
  custom: {
    50: '#dac9f4',
    500: '#cab2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cab2ef;
$custom-light: #dac9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2ef",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 239
  },
  "hsl": {
    "h": 263.607,
    "s": 65.591,
    "l": 81.765
  },
  "oklch": {
    "l": 0.80485,
    "c": 0.0883,
    "h": 302.5
  },
  "luminance": 0.50629
}

Semantic roles & 50–950 ramp

primary
#CAB2EF
secondary
#ACCD78
accent
#CD1886
background
#FEFDFF
surface
#FBF9FE
border
#D4D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #CAB2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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