#CABFF2#CABFF2

#CABFF2 is a very light, moderate violet. Relative luminance 0.562; OKLCH L 83.1% C 0.072 H 294.7°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#CABFF2
RGBrgb(202, 191, 242)
HSLhsl(253, 66%, 85%)
HSVhsv(253, 21%, 95%)
CMYKcmyk(16.5%, 21.1%, 0%, 5.1%)
CIE-LABlab(79.74, 13.86, -23.82)
CIE-LCHlch(79.74, 27.56, 300.20°)
OKLaboklab(83.06% 0.0299 -0.065)
OKLCHoklch(83.06% 0.072 294.7)
XYZxyz(59.0115, 56.2286, 91.7314)
Luminance0.5623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CABFF2 #E7F2BF
analogous
#BFCEF2 #CABFF2 #E3BFF2
triadic
#CABFF2 #F2CABF #BFF2CA
tetradic
#CABFF2 #F2BFCE #E7F2BF #BFF2E3
square
#CABFF2 #F2BFCE #E7F2BF #BFF2E3
split-complementary
#CABFF2 #F2E3BF #CEF2BF
monochromatic
#7659DD #A08CE8 #CABFF2 #EAE6FA #EAE6FA

Accessibility & contrast

On white

1.71
#CABFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#CABFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CABFF2
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CABFF2#FFFFFF#000000##000000
##CABFF21.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4C6F4
Deuteranopia (green-blind)
#B5C5F1
Tritanopia (blue-blind)
#C3C7D0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cabff2;
/* rgb */ color: rgb(202, 191, 242);
/* oklch */ color: oklch(83.1% 0.072 294.7);
Tailwind
colors: {
  custom: {
    50: '#dad2f6',
    500: '#cabff2',
    950: '#000000',
  },
}
SCSS
$custom: #cabff2;
$custom-light: #dad2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cabff2",
  "rgb": {
    "r": 202,
    "g": 191,
    "b": 242
  },
  "hsl": {
    "h": 252.941,
    "s": 66.234,
    "l": 84.902
  },
  "oklch": {
    "l": 0.83063,
    "c": 0.07153,
    "h": 294.7
  },
  "luminance": 0.56229
}

Semantic roles & 50–950 ramp

primary
#CABFF2
secondary
#C1D283
accent
#CE17A7
background
#FEFEFF
surface
#FBFBFE
border
#D4D4D6
text
#151417
muted
#848385

Preview Lab

Preview with #CABFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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