#CAB7FA#CAB7FA

#CAB7FA is a light, moderate violet. Relative luminance 0.533; OKLCH L 81.9% C 0.095 H 297.3°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#CAB7FA
RGBrgb(202, 183, 250)
HSLhsl(257, 87%, 85%)
HSVhsv(257, 27%, 98%)
CMYKcmyk(19.2%, 26.8%, 0%, 2%)
CIE-LABlab(78.07, 19.96, -30.68)
CIE-LCHlch(78.07, 36.60, 303.05°)
OKLaboklab(81.86% 0.0435 -0.0843)
OKLCHoklch(81.86% 0.095 297.3)
XYZxyz(58.5422, 53.3253, 97.6326)
Luminance0.5333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB7FA #E7FAB7
analogous
#B7C6FA #CAB7FA #ECB7FA
triadic
#CAB7FA #FACAB7 #B7FACA
tetradic
#CAB7FA #FAB7C6 #E7FAB7 #B7FAEC
square
#CAB7FA #FAB7C6 #E7FAB7 #B7FAEC
split-complementary
#CAB7FA #FAECB7 #C6FAB7
monochromatic
#7645F2 #A07EF6 #CAB7FA #EAE2FD #EAE2FD

Accessibility & contrast

On white

1.80
#CAB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#CAB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB7FA
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB7FA#FFFFFF#000000##000000
##CAB7FA1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8C1FD
Deuteranopia (green-blind)
#ABC0F8
Tritanopia (blue-blind)
#C1C1CF
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cab7fa;
/* rgb */ color: rgb(202, 183, 250);
/* oklch */ color: oklch(81.9% 0.095 297.3);
Tailwind
colors: {
  custom: {
    50: '#dbccfc',
    500: '#cab7fa',
    950: '#000000',
  },
}
SCSS
$custom: #cab7fa;
$custom-light: #dbccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cab7fa",
  "rgb": {
    "r": 202,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 257.015,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.8186,
    "c": 0.09483,
    "h": 297.3
  },
  "luminance": 0.53326
}

Semantic roles & 50–950 ramp

primary
#CAB7FA
secondary
#C1DE77
accent
#E402A4
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#151317
muted
#848385

Preview Lab

Preview with #CAB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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