#CA88FE#CA88FE

#CA88FE is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.9% C 0.176 H 308.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#CA88FE
RGBrgb(202, 136, 254)
HSLhsl(274, 98%, 76%)
HSVhsv(274, 46%, 100%)
CMYKcmyk(20.5%, 46.5%, 0%, 0.4%)
CIE-LABlab(67.52, 46.44, -49.28)
CIE-LCHlch(67.52, 67.71, 313.30°)
OKLaboklab(73.91% 0.1094 -0.1375)
OKLCHoklch(73.91% 0.176 308.5)
XYZxyz(51.0472, 37.3213, 98.2613)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA88FE #BCFE88
analogous
#8F88FE #CA88FE #FE88F7
triadic
#CA88FE #FECA88 #88FECA
tetradic
#CA88FE #FE8F88 #BCFE88 #88F7FE
square
#CA88FE #FE8F88 #BCFE88 #88F7FE
split-complementary
#CA88FE #F7FE88 #88FE8F
monochromatic
#940FFD #AF4BFD #CA88FE #E5C5FF #F1E1FF

Accessibility & contrast

On white

2.48
#CA88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#CA88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA88FE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA88FE#FFFFFF#000000##000000
##CA88FE1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#C39BB7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca88fe;
/* rgb */ color: rgb(202, 136, 254);
/* oklch */ color: oklch(73.9% 0.176 308.5);
Tailwind
colors: {
  custom: {
    50: '#dcacff',
    500: '#ca88fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca88fe;
$custom-light: #dcacff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca88fe",
  "rgb": {
    "r": 202,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 273.559,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73907,
    "c": 0.17571,
    "h": 308.5
  },
  "luminance": 0.37321
}

Semantic roles & 50–950 ramp

primary
#CA88FE
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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