#CAB2FC#CAB2FC

#CAB2FC is a light, moderate violet. Relative luminance 0.514; OKLCH L 81.0% C 0.105 H 298.9°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#CAB2FC
RGBrgb(202, 178, 252)
HSLhsl(259, 93%, 84%)
HSVhsv(259, 29%, 99%)
CMYKcmyk(19.8%, 29.4%, 0%, 1.2%)
CIE-LABlab(76.94, 23.13, -33.49)
CIE-LCHlch(76.94, 40.70, 304.63°)
OKLaboklab(81.02% 0.051 -0.0923)
OKLCHoklch(81.02% 0.105 298.9)
XYZxyz(57.8444, 51.4254, 98.9552)
Luminance0.5143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2FC #E4FCB2
analogous
#B2BFFC #CAB2FC #EFB2FC
triadic
#CAB2FC #FCCAB2 #B2FCCA
tetradic
#CAB2FC #FCB2BF #E4FCB2 #B2FCEF
square
#CAB2FC #FCB2BF #E4FCB2 #B2FCEF
split-complementary
#CAB2FC #FCEFB2 #BFFCB2
monochromatic
#793CF7 #A177FA #CAB2FC #EBE2FE #EBE2FE

Accessibility & contrast

On white

1.86
#CAB2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.29
#CAB2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2FC
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2FC#FFFFFF#000000##000000
##CAB2FC1.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2BEFF
Deuteranopia (green-blind)
#A5BDFA
Tritanopia (blue-blind)
#C1BDCC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cab2fc;
/* rgb */ color: rgb(202, 178, 252);
/* oklch */ color: oklch(81.0% 0.105 298.9);
Tailwind
colors: {
  custom: {
    50: '#dbc9fd',
    500: '#cab2fc',
    950: '#000000',
  },
}
SCSS
$custom: #cab2fc;
$custom-light: #dbc9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2fc",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 252
  },
  "hsl": {
    "h": 259.459,
    "s": 92.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.81015,
    "c": 0.10542,
    "h": 298.9
  },
  "luminance": 0.51426
}

Semantic roles & 50–950 ramp

primary
#CAB2FC
secondary
#BDE171
accent
#E6009B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CAB2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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