#CA8EF9#CA8EF9

#CA8EF9 is a light, vivid violet. Relative luminance 0.387; OKLCH L 74.6% C 0.160 H 308.8°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF9
RGBrgb(202, 142, 249)
HSLhsl(274, 90%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.9%, 43%, 0%, 2.4%)
CIE-LABlab(68.56, 42.13, -44.90)
CIE-LCHlch(68.56, 61.57, 313.18°)
OKLaboklab(74.61% 0.1005 -0.1249)
OKLCHoklch(74.61% 0.16 308.8)
XYZxyz(51.1258, 38.7428, 94.3889)
Luminance0.3874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF9 #BDF98E
analogous
#958EF9 #CA8EF9 #F98EF2
triadic
#CA8EF9 #F9CA8E #8EF9CA
tetradic
#CA8EF9 #F9958E #BDF98E #8EF2F9
square
#CA8EF9 #F9958E #BDF98E #8EF2F9
split-complementary
#CA8EF9 #F2F98E #8EF995
monochromatic
#931AF3 #AF54F6 #CA8EF9 #E5C8FC #F1E2FD

Accessibility & contrast

On white

2.40
#CA8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#CA8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF9
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF9#FFFFFF#000000##000000
##CA8EF91.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A5FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#C49FB8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ef9;
/* rgb */ color: rgb(202, 142, 249);
/* oklch */ color: oklch(74.6% 0.160 308.8);
Tailwind
colors: {
  custom: {
    50: '#dcb0fb',
    500: '#ca8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef9;
$custom-light: #dcb0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef9",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 273.645,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74614,
    "c": 0.16026,
    "h": 308.8
  },
  "luminance": 0.38742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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