#CAB2FB#CAB2FB

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

Color values

HEX#CAB2FB
RGBrgb(202, 178, 251)
HSLhsl(260, 90%, 84%)
HSVhsv(260, 29%, 98%)
CMYKcmyk(19.5%, 29.1%, 0%, 1.6%)
CIE-LABlab(76.90, 22.91, -33.01)
CIE-LCHlch(76.90, 40.18, 304.76°)
OKLaboklab(80.97% 0.0507 -0.0909)
OKLCHoklch(80.97% 0.104 299.2)
XYZxyz(57.6863, 51.3621, 98.1229)
Luminance0.5136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAB2FB #E3FBB2
analogous
#B2BFFB #CAB2FB #EFB2FB
triadic
#CAB2FB #FBCAB2 #B2FBCA
tetradic
#CAB2FB #FBB2BF #E3FBB2 #B2FBEF
square
#CAB2FB #FBB2BF #E3FBB2 #B2FBEF
split-complementary
#CAB2FB #FBEFB2 #BFFBB2
monochromatic
#7A3EF5 #A278F8 #CAB2FB #EBE2FD #EBE2FD

Accessibility & contrast

On white

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

On black

11.27
#CAB2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAB2FB
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAB2FB#FFFFFF#000000##000000
##CAB2FB1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cab2fb;
/* rgb */ color: rgb(202, 178, 251);
/* oklch */ color: oklch(81.0% 0.104 299.2);
Tailwind
colors: {
  custom: {
    50: '#dbc9fd',
    500: '#cab2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cab2fb;
$custom-light: #dbc9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cab2fb",
  "rgb": {
    "r": 202,
    "g": 178,
    "b": 251
  },
  "hsl": {
    "h": 259.726,
    "s": 90.123,
    "l": 84.118
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.1041,
    "h": 299.2
  },
  "luminance": 0.51362
}

Semantic roles & 50–950 ramp

primary
#CAB2FB
secondary
#BBDF72
accent
#E6009A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #CAB2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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