#CAB2FF#CAB2FF

#CAB2FF is a light, moderate violet. Relative luminance 0.516; OKLCH L 81.1% C 0.109 H 298.2°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#CAB2FF
RGBrgb(202, 178, 255)
HSLhsl(259, 100%, 85%)
HSVhsv(259, 30%, 100%)
CMYKcmyk(20.8%, 30.2%, 0%, 0%)
CIE-LABlab(77.05, 23.80, -34.93)
CIE-LCHlch(77.05, 42.27, 304.27°)
OKLaboklab(81.14% 0.0518 -0.0964)
OKLCHoklch(81.14% 0.109 298.2)
XYZxyz(58.3235, 51.6170, 101.4787)
Luminance0.5162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2FF #E7FFB2
analogous
#B2C1FF #CAB2FF #F0B2FF
triadic
#CAB2FF #FFCAB2 #B2FFCA
tetradic
#CAB2FF #FFB2C1 #E7FFB2 #B2FFF0
square
#CAB2FF #FFB2C1 #E7FFB2 #B2FFF0
split-complementary
#CAB2FF #FFF0B2 #C1FFB2
monochromatic
#7638FF #A075FF #CAB2FF #EAE0FF #EAE0FF

Accessibility & contrast

On white

1.85
#CAB2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#CAB2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2FF
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2FF#FFFFFF#000000##000000
##CAB2FF1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BEFF
Deuteranopia (green-blind)
#A4BEFD
Tritanopia (blue-blind)
#C0BECE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cab2ff;
/* rgb */ color: rgb(202, 178, 255);
/* oklch */ color: oklch(81.1% 0.109 298.2);
Tailwind
colors: {
  custom: {
    50: '#dbc9ff',
    500: '#cab2ff',
    950: '#000000',
  },
}
SCSS
$custom: #cab2ff;
$custom-light: #dbc9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2ff",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 255
  },
  "hsl": {
    "h": 258.701,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.81142,
    "c": 0.10938,
    "h": 298.2
  },
  "luminance": 0.51617
}

Semantic roles & 50–950 ramp

primary
#CAB2FF
secondary
#C1E670
accent
#E6009E
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #CAB2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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