#CA8EF6#CA8EF6

#CA8EF6 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.5% C 0.157 H 309.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF6
RGBrgb(202, 142, 246)
HSLhsl(275, 85%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.9%, 42.3%, 0%, 3.5%)
CIE-LABlab(68.43, 41.48, -43.47)
CIE-LCHlch(68.43, 60.09, 313.66°)
OKLaboklab(74.47% 0.1 -0.1207)
OKLCHoklch(74.47% 0.157 309.6)
XYZxyz(50.6616, 38.5571, 91.9443)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF6 #BAF68E
analogous
#968EF6 #CA8EF6 #F68EEE
triadic
#CA8EF6 #F6CA8E #8EF6CA
tetradic
#CA8EF6 #F6968E #BAF68E #8EEEF6
square
#CA8EF6 #F6968E #BAF68E #8EEEF6
split-complementary
#CA8EF6 #EEF68E #8EF696
monochromatic
#951DED #AF55F1 #CA8EF6 #E5C7FB #F2E3FD

Accessibility & contrast

On white

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

On black

8.71
#CA8EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF6
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF6#FFFFFF#000000##000000
##CA8EF61.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4FA
Deuteranopia (green-blind)
#86A8F3
Tritanopia (blue-blind)
#C59EB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ef6;
/* rgb */ color: rgb(202, 142, 246);
/* oklch */ color: oklch(74.5% 0.157 309.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0f9',
    500: '#ca8ef6',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef6;
$custom-light: #dcb0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef6",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 274.615,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74469,
    "c": 0.15675,
    "h": 309.6
  },
  "luminance": 0.38556
}

Semantic roles & 50–950 ramp

primary
#CA8EF6
secondary
#E3F5D6
accent
#E20462
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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