#CA8FFC#CA8FFC

#CA8FFC is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.9% C 0.162 H 307.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#CA8FFC
RGBrgb(202, 143, 252)
HSLhsl(272, 95%, 77%)
HSVhsv(272, 43%, 99%)
CMYKcmyk(19.8%, 43.3%, 0%, 1.2%)
CIE-LABlab(68.92, 42.25, -45.98)
CIE-LCHlch(68.92, 62.44, 312.58°)
OKLaboklab(74.92% 0.0996 -0.128)
OKLCHoklch(74.92% 0.162 307.9)
XYZxyz(51.7469, 39.2303, 96.9227)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FFC #C1FC8F
analogous
#938FFC #CA8FFC #FC8FF8
triadic
#CA8FFC #FCCA8F #8FFCCA
tetradic
#CA8FFC #FC938F #C1FC8F #8FF8FC
square
#CA8FFC #FC938F #C1FC8F #8FF8FC
split-complementary
#CA8FFC #F8FC8F #8FFC93
monochromatic
#9218F9 #AE53FA #CA8FFC #E6CBFE #F1E1FE

Accessibility & contrast

On white

2.37
#CA8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#CA8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FFC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FFC#FFFFFF#000000##000000
##CA8FFC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A6FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#C3A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8ffc;
/* rgb */ color: rgb(202, 143, 252);
/* oklch */ color: oklch(74.9% 0.162 307.9);
Tailwind
colors: {
  custom: {
    50: '#dcb1fe',
    500: '#ca8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ffc;
$custom-light: #dcb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ffc",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 272.477,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74924,
    "c": 0.16217,
    "h": 307.9
  },
  "luminance": 0.3923
}

Semantic roles & 50–950 ramp

primary
#CA8FFC
secondary
#E4F6D5
accent
#E60069
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151118
muted
#838086

Preview Lab

Preview with #CA8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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