#CA88F2#CA88F2

#CA88F2 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.3% C 0.162 H 311.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CA88F2
RGBrgb(202, 136, 242)
HSLhsl(277, 80%, 74%)
HSVhsv(277, 44%, 95%)
CMYKcmyk(16.5%, 43.8%, 0%, 5.1%)
CIE-LABlab(66.96, 43.85, -43.59)
CIE-LCHlch(66.96, 61.82, 315.17°)
OKLaboklab(73.31% 0.1076 -0.121)
OKLCHoklch(73.31% 0.162 311.6)
XYZxyz(49.1855, 36.5766, 88.4561)
Luminance0.3658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88F2 #B0F288
analogous
#9588F2 #CA88F2 #F288E5
triadic
#CA88F2 #F2CA88 #88F2CA
tetradic
#CA88F2 #F29588 #B0F288 #88E5F2
square
#CA88F2 #F29588 #B0F288 #88E5F2
split-complementary
#CA88F2 #E5F288 #88F295
monochromatic
#991AE6 #B151EC #CA88F2 #E3BFF8 #F3E3FC

Accessibility & contrast

On white

2.53
#CA88F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CA88F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88F2
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88F2#FFFFFF#000000##000000
##CA88F21.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#83A4EF
Tritanopia (blue-blind)
#C698B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca88f2;
/* rgb */ color: rgb(202, 136, 242);
/* oklch */ color: oklch(73.3% 0.162 311.6);
Tailwind
colors: {
  custom: {
    50: '#dcacf7',
    500: '#ca88f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca88f2;
$custom-light: #dcacf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88f2",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 277.358,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73306,
    "c": 0.16197,
    "h": 311.6
  },
  "luminance": 0.36576
}

Semantic roles & 50–950 ramp

primary
#CA88F2
secondary
#E2F4D7
accent
#DD0959
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA88F2

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

Preview Lab → · Contrast checker → · Palette generator →

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