#CA8DFA#CA8DFA

#CA8DFA is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.5% C 0.163 H 308.7°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#CA8DFA
RGBrgb(202, 141, 250)
HSLhsl(274, 92%, 77%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(19.2%, 43.6%, 0%, 2%)
CIE-LABlab(68.39, 42.89, -45.71)
CIE-LCHlch(68.39, 62.68, 313.17°)
OKLaboklab(74.5% 0.102 -0.1272)
OKLCHoklch(74.5% 0.163 308.7)
XYZxyz(51.1340, 38.5091, 95.1632)
Luminance0.3851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DFA #BDFA8D
analogous
#948DFA #CA8DFA #FA8DF4
triadic
#CA8DFA #FACA8D #8DFACA
tetradic
#CA8DFA #FA948D #BDFA8D #8DF4FA
square
#CA8DFA #FA948D #BDFA8D #8DF4FA
split-complementary
#CA8DFA #F4FA8D #8DFA94
monochromatic
#9318F5 #AF52F7 #CA8DFA #E5C8FD #F1E2FE

Accessibility & contrast

On white

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

On black

8.70
#CA8DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8DFA
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8DFA#FFFFFF#000000##000000
##CA8DFA1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#83A8F7
Tritanopia (blue-blind)
#C49EB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8dfa;
/* rgb */ color: rgb(202, 141, 250);
/* oklch */ color: oklch(74.5% 0.163 308.7);
Tailwind
colors: {
  custom: {
    50: '#dcaffc',
    500: '#ca8dfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca8dfa;
$custom-light: #dcaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8dfa",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 250
  },
  "hsl": {
    "h": 273.578,
    "s": 91.597,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74502,
    "c": 0.16305,
    "h": 308.7
  },
  "luminance": 0.38508
}

Semantic roles & 50–950 ramp

primary
#CA8DFA
secondary
#E4F6D5
accent
#E60065
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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