#CA8EFD#CA8EFD

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

Color values

HEX#CA8EFD
RGBrgb(202, 142, 253)
HSLhsl(272, 97%, 77%)
HSVhsv(272, 44%, 99%)
CMYKcmyk(20.2%, 43.9%, 0%, 0.8%)
CIE-LABlab(68.75, 43.01, -46.79)
CIE-LCHlch(68.75, 63.56, 312.59°)
OKLaboklab(74.81% 0.1011 -0.1303)
OKLCHoklch(74.81% 0.165 307.8)
XYZxyz(51.7563, 38.9950, 97.7097)
Luminance0.3899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EFD #C1FD8E
analogous
#928EFD #CA8EFD #FD8EF9
triadic
#CA8EFD #FDCA8E #8EFDCA
tetradic
#CA8EFD #FD928E #C1FD8E #8EF9FD
square
#CA8EFD #FD928E #C1FD8E #8EF9FD
split-complementary
#CA8EFD #F9FD8E #8EFD92
monochromatic
#9216FB #AE52FC #CA8EFD #E6CAFE #F1E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA8EFD#FFFFFF#000000##000000
##CA8EFD1.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)
#74A5FF
Deuteranopia (green-blind)
#83A8FA
Tritanopia (blue-blind)
#C3A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8efd;
/* rgb */ color: rgb(202, 142, 253);
/* oklch */ color: oklch(74.8% 0.165 307.8);
Tailwind
colors: {
  custom: {
    50: '#dcb0fe',
    500: '#ca8efd',
    950: '#000000',
  },
}
SCSS
$custom: #ca8efd;
$custom-light: #dcb0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8efd",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 272.432,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.16496,
    "h": 307.8
  },
  "luminance": 0.38994
}

Semantic roles & 50–950 ramp

primary
#CA8EFD
secondary
#E4F7D4
accent
#E60069
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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