#CA8EF4#CA8EF4

#CA8EF4 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.4% C 0.154 H 310.2°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#CA8EF4
RGBrgb(202, 142, 244)
HSLhsl(275, 82%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.2%, 41.8%, 0%, 4.3%)
CIE-LABlab(68.34, 41.05, -42.52)
CIE-LCHlch(68.34, 59.10, 313.99°)
OKLaboklab(74.37% 0.0996 -0.118)
OKLCHoklch(74.37% 0.154 310.2)
XYZxyz(50.3563, 38.4350, 90.3363)
Luminance0.3843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EF4 #B8F48E
analogous
#978EF4 #CA8EF4 #F48EEB
triadic
#CA8EF4 #F4CA8E #8EF4CA
tetradic
#CA8EF4 #F4978E #B8F48E #8EEBF4
square
#CA8EF4 #F4978E #B8F48E #8EEBF4
split-complementary
#CA8EF4 #EBF48E #8EF497
monochromatic
#961EE9 #B056EF #CA8EF4 #E4C6F9 #F2E3FC

Accessibility & contrast

On white

2.42
#CA8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#CA8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EF4
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EF4#FFFFFF#000000##000000
##CA8EF41.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A4F8
Deuteranopia (green-blind)
#87A8F1
Tritanopia (blue-blind)
#C59DB5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8ef4;
/* rgb */ color: rgb(202, 142, 244);
/* oklch */ color: oklch(74.4% 0.154 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcb0f8',
    500: '#ca8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #ca8ef4;
$custom-light: #dcb0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8ef4",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 275.294,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74372,
    "c": 0.15441,
    "h": 310.2
  },
  "luminance": 0.38434
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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