#CA8DF5#CA8DF5

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

Color values

HEX#CA8DF5
RGBrgb(202, 141, 245)
HSLhsl(275, 84%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.6%, 42.4%, 0%, 3.9%)
CIE-LABlab(68.17, 41.80, -43.33)
CIE-LCHlch(68.17, 60.21, 313.97°)
OKLaboklab(74.26% 0.1012 -0.1203)
OKLCHoklch(74.26% 0.157 310.1)
XYZxyz(50.3604, 38.1996, 91.0888)
Luminance0.3820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8DF5 #B8F58D
analogous
#968DF5 #CA8DF5 #F58DEC
triadic
#CA8DF5 #F5CA8D #8DF5CA
tetradic
#CA8DF5 #F5968D #B8F58D #8DECF5
square
#CA8DF5 #F5968D #B8F58D #8DECF5
split-complementary
#CA8DF5 #ECF58D #8DF596
monochromatic
#961CEB #B055F0 #CA8DF5 #E4C5FA #F2E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA8DF5#FFFFFF#000000##000000
##CA8DF51.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)
#77A3F9
Deuteranopia (green-blind)
#86A7F2
Tritanopia (blue-blind)
#C59DB5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8df5;
/* rgb */ color: rgb(202, 141, 245);
/* oklch */ color: oklch(74.3% 0.157 310.1);
Tailwind
colors: {
  custom: {
    50: '#dcaff9',
    500: '#ca8df5',
    950: '#000000',
  },
}
SCSS
$custom: #ca8df5;
$custom-light: #dcaff9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8df5",
  "rgb": {
    "r": 202,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 275.192,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74257,
    "c": 0.15722,
    "h": 310.1
  },
  "luminance": 0.38199
}

Semantic roles & 50–950 ramp

primary
#CA8DF5
secondary
#E3F4D7
accent
#E00560
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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