#CAB7FF#CAB7FF

#CAB7FF is a very light, moderate violet. Relative luminance 0.536; OKLCH L 82.1% C 0.102 H 296.2°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CAB7FF
RGBrgb(202, 183, 255)
HSLhsl(256, 100%, 86%)
HSVhsv(256, 28%, 100%)
CMYKcmyk(20.8%, 28.2%, 0%, 0%)
CIE-LABlab(78.25, 21.07, -33.07)
CIE-LCHlch(78.25, 39.21, 302.50°)
OKLaboklab(82.07% 0.0448 -0.0911)
OKLCHoklch(82.07% 0.102 296.2)
XYZxyz(59.3366, 53.6431, 101.8164)
Luminance0.5364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB7FF #ECFFB7
analogous
#B7C8FF #CAB7FF #EEB7FF
triadic
#CAB7FF #FFCAB7 #B7FFCA
tetradic
#CAB7FF #FFB7C8 #ECFFB7 #B7FFEE
square
#CAB7FF #FFB7C8 #ECFFB7 #B7FFEE
split-complementary
#CAB7FF #FFEEB7 #C8FFB7
monochromatic
#703DFF #9D7AFF #CAB7FF #E8E0FF #E8E0FF

Accessibility & contrast

On white

1.79
#CAB7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CAB7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB7FF
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB7FF#FFFFFF#000000##000000
##CAB7FF1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6C2FF
Deuteranopia (green-blind)
#A9C1FD
Tritanopia (blue-blind)
#C0C2D0
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cab7ff;
/* rgb */ color: rgb(202, 183, 255);
/* oklch */ color: oklch(82.1% 0.102 296.2);
Tailwind
colors: {
  custom: {
    50: '#dbccff',
    500: '#cab7ff',
    950: '#000000',
  },
}
SCSS
$custom: #cab7ff;
$custom-light: #dbccff;
$custom-dark: #000000;
JSON
{
  "hex": "#cab7ff",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 255
  },
  "hsl": {
    "h": 255.833,
    "s": 100,
    "l": 85.882
  },
  "oklch": {
    "l": 0.82066,
    "c": 0.10152,
    "h": 296.2
  },
  "luminance": 0.53644
}

Semantic roles & 50–950 ramp

primary
#CAB7FF
secondary
#C8E674
accent
#E600A9
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151318
muted
#848386

Preview Lab

Preview with #CAB7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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