#CA8EF5#CA8EF5

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

Color values

HEX#CA8EF5
RGBrgb(202, 142, 245)
HSLhsl(275, 84%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.6%, 42%, 0%, 3.9%)
CIE-LABlab(68.38, 41.26, -42.99)
CIE-LCHlch(68.38, 59.59, 313.82°)
OKLaboklab(74.42% 0.0998 -0.1194)
OKLCHoklch(74.42% 0.156 309.9)
XYZxyz(50.5085, 38.4959, 91.1382)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF5 #B9F58E
analogous
#968EF5 #CA8EF5 #F58EED
triadic
#CA8EF5 #F5CA8E #8EF5CA
tetradic
#CA8EF5 #F5968E #B9F58E #8EEDF5
square
#CA8EF5 #F5968E #B9F58E #8EEDF5
split-complementary
#CA8EF5 #EDF58E #8EF596
monochromatic
#951EEB #B056F0 #CA8EF5 #E4C6FA #F2E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA8EF5#FFFFFF#000000##000000
##CA8EF51.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)
#78A4F9
Deuteranopia (green-blind)
#87A8F2
Tritanopia (blue-blind)
#C59EB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ef5;
/* rgb */ color: rgb(202, 142, 245);
/* oklch */ color: oklch(74.4% 0.156 309.9);
Tailwind
colors: {
  custom: {
    50: '#dcb0f9',
    500: '#ca8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef5;
$custom-light: #dcb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef5",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 274.951,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7442,
    "c": 0.15559,
    "h": 309.9
  },
  "luminance": 0.38495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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