#CAB3FF#CAB3FF

#CAB3FF is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.3% C 0.108 H 297.9°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#CAB3FF
RGBrgb(202, 179, 255)
HSLhsl(258, 100%, 85%)
HSVhsv(258, 30%, 100%)
CMYKcmyk(20.8%, 29.8%, 0%, 0%)
CIE-LABlab(77.29, 23.25, -34.56)
CIE-LCHlch(77.29, 41.65, 303.94°)
OKLaboklab(81.33% 0.0504 -0.0953)
OKLCHoklch(81.33% 0.108 297.9)
XYZxyz(58.5232, 52.0164, 101.5453)
Luminance0.5202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB3FF #E8FFB3
analogous
#B3C2FF #CAB3FF #F0B3FF
triadic
#CAB3FF #FFCAB3 #B3FFCA
tetradic
#CAB3FF #FFB3C2 #E8FFB3 #B3FFF0
square
#CAB3FF #FFB3C2 #E8FFB3 #B3FFF0
split-complementary
#CAB3FF #FFF0B3 #C2FFB3
monochromatic
#7539FF #9F76FF #CAB3FF #EAE0FF #EAE0FF

Accessibility & contrast

On white

1.84
#CAB3FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#CAB3FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB3FF
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB3FF#FFFFFF#000000##000000
##CAB3FF1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BFFF
Deuteranopia (green-blind)
#A5BEFD
Tritanopia (blue-blind)
#C0BFCE
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cab3ff;
/* rgb */ color: rgb(202, 179, 255);
/* oklch */ color: oklch(81.3% 0.108 297.9);
Tailwind
colors: {
  custom: {
    50: '#dbc9ff',
    500: '#cab3ff',
    950: '#000000',
  },
}
SCSS
$custom: #cab3ff;
$custom-light: #dbc9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cab3ff",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 255
  },
  "hsl": {
    "h": 258.158,
    "s": 100,
    "l": 85.098
  },
  "oklch": {
    "l": 0.81326,
    "c": 0.10781,
    "h": 297.9
  },
  "luminance": 0.52017
}

Semantic roles & 50–950 ramp

primary
#CAB3FF
secondary
#C2E670
accent
#E600A0
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CAB3FF

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

Preview Lab → · Contrast checker → · Palette generator →

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