#CAAAFB#CAAAFB

#CAAAFB is a light, moderate violet. Relative luminance 0.483; OKLCH L 79.5% C 0.117 H 301.9°. Best body text is #000000 at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#CAAAFB
RGBrgb(202, 170, 251)
HSLhsl(264, 91%, 83%)
HSVhsv(264, 32%, 98%)
CMYKcmyk(19.5%, 32.3%, 0%, 1.6%)
CIE-LABlab(75.00, 27.30, -35.95)
CIE-LCHlch(75.00, 45.14, 307.20°)
OKLaboklab(79.52% 0.0619 -0.0993)
OKLCHoklch(79.52% 0.117 301.9)
XYZxyz(56.1408, 48.2710, 97.6077)
Luminance0.4827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAAFB #DBFBAA
analogous
#AAB2FB #CAAAFB #F3AAFB
triadic
#CAAAFB #FBCAAA #AAFBCA
tetradic
#CAAAFB #FBAAB2 #DBFBAA #AAFBF3
square
#CAAAFB #FBAAB2 #DBFBAA #AAFBF3
split-complementary
#CAAAFB #FBF3AA #B2FBAA
monochromatic
#8135F5 #A670F8 #CAAAFB #EDE2FE #EDE2FE

Accessibility & contrast

On white

1.97
#CAAAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.65
#CAAAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAAFB
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAAFB#FFFFFF#000000##000000
##CAAAFB1.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#98B8FE
Deuteranopia (green-blind)
#9EB8F9
Tritanopia (blue-blind)
#C2B6C7
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #caaafb;
/* rgb */ color: rgb(202, 170, 251);
/* oklch */ color: oklch(79.5% 0.117 301.9);
Tailwind
colors: {
  custom: {
    50: '#dbc3fd',
    500: '#caaafb',
    950: '#000000',
  },
}
SCSS
$custom: #caaafb;
$custom-light: #dbc3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#caaafb",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 263.704,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.79516,
    "c": 0.11698,
    "h": 301.9
  },
  "luminance": 0.48271
}

Semantic roles & 50–950 ramp

primary
#CAAAFB
secondary
#E9F6D5
accent
#E6008B
background
#FDFCFF
surface
#FBF8FF
border
#D4D1D7
text
#151217
muted
#838185

Preview Lab

Preview with #CAAAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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