#CA8DFC#CA8DFC

#CA8DFC is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.165 H 308.2°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#CA8DFC
RGBrgb(202, 141, 252)
HSLhsl(273, 95%, 77%)
HSVhsv(273, 44%, 99%)
CMYKcmyk(19.8%, 44%, 0%, 1.2%)
CIE-LABlab(68.49, 43.33, -46.66)
CIE-LCHlch(68.49, 63.67, 312.88°)
OKLaboklab(74.6% 0.1023 -0.1299)
OKLCHoklch(74.6% 0.165 308.2)
XYZxyz(51.4493, 38.6352, 96.8235)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DFC #BFFC8D
analogous
#938DFC #CA8DFC #FC8DF7
triadic
#CA8DFC #FCCA8D #8DFCCA
tetradic
#CA8DFC #FC938D #BFFC8D #8DF7FC
square
#CA8DFC #FC938D #BFFC8D #8DF7FC
split-complementary
#CA8DFC #F7FC8D #8DFC93
monochromatic
#9316F9 #AE51FA #CA8DFC #E6C9FE #F1E1FE

Accessibility & contrast

On white

2.41
#CA8DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#CA8DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DFC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DFC#FFFFFF#000000##000000
##CA8DFC1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FF
Deuteranopia (green-blind)
#82A8F9
Tritanopia (blue-blind)
#C39FB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8dfc;
/* rgb */ color: rgb(202, 141, 252);
/* oklch */ color: oklch(74.6% 0.165 308.2);
Tailwind
colors: {
  custom: {
    50: '#dcaffe',
    500: '#ca8dfc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dfc;
$custom-light: #dcaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dfc",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 272.973,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74601,
    "c": 0.16539,
    "h": 308.2
  },
  "luminance": 0.38635
}

Semantic roles & 50–950 ramp

primary
#CA8DFC
secondary
#E4F6D5
accent
#E60067
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA8DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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