#CA8CFA#CA8CFA

#CA8CFA is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.165 H 308.9°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CA8CFA
RGBrgb(202, 140, 250)
HSLhsl(274, 92%, 76%)
HSVhsv(274, 44%, 98%)
CMYKcmyk(19.2%, 44%, 0%, 2%)
CIE-LABlab(68.18, 43.43, -46.05)
CIE-LCHlch(68.18, 63.30, 313.32°)
OKLaboklab(74.34% 0.1034 -0.1282)
OKLCHoklch(74.34% 0.165 308.9)
XYZxyz(50.9873, 38.2155, 95.1143)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8CFA #BCFA8C
analogous
#938CFA #CA8CFA #FA8CF3
triadic
#CA8CFA #FACA8C #8CFACA
tetradic
#CA8CFA #FA938C #BCFA8C #8CF3FA
square
#CA8CFA #FA938C #BCFA8C #8CF3FA
split-complementary
#CA8CFA #F3FA8C #8CFA93
monochromatic
#9417F5 #AF51F7 #CA8CFA #E5C7FD #F1E2FE

Accessibility & contrast

On white

2.43
#CA8CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#CA8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8CFA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8CFA#FFFFFF#000000##000000
##CA8CFA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#C49DB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8cfa;
/* rgb */ color: rgb(202, 140, 250);
/* oklch */ color: oklch(74.3% 0.165 308.9);
Tailwind
colors: {
  custom: {
    50: '#dcaffc',
    500: '#ca8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #ca8cfa;
$custom-light: #dcaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8cfa",
  "rgb": {
    "r": 202,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 273.818,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7434,
    "c": 0.16467,
    "h": 308.9
  },
  "luminance": 0.38215
}

Semantic roles & 50–950 ramp

primary
#CA8CFA
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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