#CA8FF8#CA8FF8

#CA8FF8 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.7% C 0.157 H 308.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#CA8FF8
RGBrgb(202, 143, 248)
HSLhsl(274, 88%, 77%)
HSVhsv(274, 42%, 97%)
CMYKcmyk(18.5%, 42.3%, 0%, 2.7%)
CIE-LABlab(68.74, 41.38, -44.08)
CIE-LCHlch(68.74, 60.46, 313.19°)
OKLaboklab(74.73% 0.0989 -0.1225)
OKLCHoklch(74.73% 0.157 308.9)
XYZxyz(51.1197, 38.9794, 93.6195)
Luminance0.3898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FF8 #BDF88F
analogous
#968FF8 #CA8FF8 #F88FF2
triadic
#CA8FF8 #F8CA8F #8FF8CA
tetradic
#CA8FF8 #F8968F #BDF88F #8FF2F8
square
#CA8FF8 #F8968F #BDF88F #8FF2F8
split-complementary
#CA8FF8 #F2F88F #8FF896
monochromatic
#931CF1 #AF55F4 #CA8FF8 #E5C9FC #F1E2FD

Accessibility & contrast

On white

2.39
#CA8FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#CA8FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FF8
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FF8#FFFFFF#000000##000000
##CA8FF81.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#86A9F5
Tritanopia (blue-blind)
#C49FB8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8ff8;
/* rgb */ color: rgb(202, 143, 248);
/* oklch */ color: oklch(74.7% 0.157 308.9);
Tailwind
colors: {
  custom: {
    50: '#dcb1fb',
    500: '#ca8ff8',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ff8;
$custom-light: #dcb1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ff8",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 273.714,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74729,
    "c": 0.15747,
    "h": 308.9
  },
  "luminance": 0.38979
}

Semantic roles & 50–950 ramp

primary
#CA8FF8
secondary
#E4F5D6
accent
#E50165
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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