#CAB3FA#CAB3FA

#CAB3FA is a light, moderate violet. Relative luminance 0.517; OKLCH L 81.1% C 0.101 H 299.0°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#CAB3FA
RGBrgb(202, 179, 250)
HSLhsl(259, 88%, 84%)
HSVhsv(259, 28%, 98%)
CMYKcmyk(19.2%, 28.4%, 0%, 2%)
CIE-LABlab(77.10, 22.14, -32.16)
CIE-LCHlch(77.10, 39.05, 304.54°)
OKLaboklab(81.12% 0.0491 -0.0885)
OKLCHoklch(81.12% 0.101 299)
XYZxyz(57.7288, 51.6986, 97.3614)
Luminance0.5170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB3FA #E3FAB3
analogous
#B3C0FA #CAB3FA #EEB3FA
triadic
#CAB3FA #FACAB3 #B3FACA
tetradic
#CAB3FA #FAB3C0 #E3FAB3 #B3FAEE
square
#CAB3FA #FAB3C0 #E3FAB3 #B3FAEE
split-complementary
#CAB3FA #FAEEB3 #C0FAB3
monochromatic
#7A40F2 #A27AF6 #CAB3FA #EBE2FD #EBE2FD

Accessibility & contrast

On white

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

On black

11.34
#CAB3FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB3FA
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB3FA#FFFFFF#000000##000000
##CAB3FA1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFD
Deuteranopia (green-blind)
#A7BEF8
Tritanopia (blue-blind)
#C1BECC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cab3fa;
/* rgb */ color: rgb(202, 179, 250);
/* oklch */ color: oklch(81.1% 0.101 299.0);
Tailwind
colors: {
  custom: {
    50: '#dbc9fc',
    500: '#cab3fa',
    950: '#000000',
  },
}
SCSS
$custom: #cab3fa;
$custom-light: #dbc9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cab3fa",
  "rgb": {
    "r": 202,
    "g": 179,
    "b": 250
  },
  "hsl": {
    "h": 259.437,
    "s": 87.654,
    "l": 84.118
  },
  "oklch": {
    "l": 0.81117,
    "c": 0.10118,
    "h": 299
  },
  "luminance": 0.51699
}

Semantic roles & 50–950 ramp

primary
#CAB3FA
secondary
#BBDE74
accent
#E4019B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CAB3FA

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

Preview Lab → · Contrast checker → · Palette generator →

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