#CAAAF2#CAAAF2

#CAAAF2 is a light, moderate violet. Relative luminance 0.477; OKLCH L 79.1% C 0.105 H 304.4°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#CAAAF2
RGBrgb(202, 170, 242)
HSLhsl(267, 73%, 81%)
HSVhsv(267, 30%, 95%)
CMYKcmyk(16.5%, 29.8%, 0%, 5.1%)
CIE-LABlab(74.65, 25.32, -31.63)
CIE-LCHlch(74.65, 40.52, 308.68°)
OKLaboklab(79.13% 0.0596 -0.0869)
OKLCHoklch(79.13% 0.105 304.4)
XYZxyz(54.7557, 47.7170, 90.3128)
Luminance0.4772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CAAAF2 #D2F2AA
analogous
#AAAEF2 #CAAAF2 #EEAAF2
triadic
#CAAAF2 #F2CAAA #AAF2CA
tetradic
#CAAAF2 #F2AAAE #D2F2AA #AAF2EE
square
#CAAAF2 #F2AAAE #D2F2AA #AAF2EE
split-complementary
#CAAAF2 #F2EEAA #AEF2AA
monochromatic
#8840E2 #A975EA #CAAAF2 #EBDFFA #EEE4FB

Accessibility & contrast

On white

1.99
#CAAAF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.54
#CAAAF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CAAAF2
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CAAAF2#FFFFFF#000000##000000
##CAAAF21.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CB7F5
Deuteranopia (green-blind)
#A2B8F0
Tritanopia (blue-blind)
#C4B4C4
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #caaaf2;
/* rgb */ color: rgb(202, 170, 242);
/* oklch */ color: oklch(79.1% 0.105 304.4);
Tailwind
colors: {
  custom: {
    50: '#dbc3f6',
    500: '#caaaf2',
    950: '#000000',
  },
}
SCSS
$custom: #caaaf2;
$custom-light: #dbc3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#caaaf2",
  "rgb": {
    "r": 202,
    "g": 170,
    "b": 242
  },
  "hsl": {
    "h": 266.667,
    "s": 73.469,
    "l": 80.784
  },
  "oklch": {
    "l": 0.79133,
    "c": 0.1054,
    "h": 304.4
  },
  "luminance": 0.47717
}

Semantic roles & 50–950 ramp

primary
#CAAAF2
secondary
#E7F3D8
accent
#D6107E
background
#FDFCFF
surface
#FBF8FE
border
#D4D1D6
text
#151217
muted
#838185

Preview Lab

Preview with #CAAAF2

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

Preview Lab → · Contrast checker → · Palette generator →

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