#CA8AEF#CA8AEF

#CA8AEF is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.5% C 0.155 H 312.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#CA8AEF
RGBrgb(202, 138, 239)
HSLhsl(278, 76%, 74%)
HSVhsv(278, 42%, 94%)
CMYKcmyk(15.5%, 42.3%, 0%, 6.3%)
CIE-LABlab(67.25, 42.14, -41.48)
CIE-LCHlch(67.25, 59.13, 315.45°)
OKLaboklab(73.48% 0.1043 -0.115)
OKLCHoklch(73.48% 0.155 312.2)
XYZxyz(49.0229, 36.9664, 86.1974)
Luminance0.3697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8AEF #AFEF8A
analogous
#988AEF #CA8AEF #EF8AE2
triadic
#CA8AEF #EFCA8A #8AEFCA
tetradic
#CA8AEF #EF988A #AFEF8A #8AE2EF
square
#CA8AEF #EF988A #AFEF8A #8AE2EF
split-complementary
#CA8AEF #E2EF8A #8AEF98
monochromatic
#991FE0 #B254E8 #CA8AEF #E2C0F6 #F3E4FB

Accessibility & contrast

On white

2.50
#CA8AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#CA8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8AEF
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8AEF#FFFFFF#000000##000000
##CA8AEF1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#C699B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ca8aef;
/* rgb */ color: rgb(202, 138, 239);
/* oklch */ color: oklch(73.5% 0.155 312.2);
Tailwind
colors: {
  custom: {
    50: '#dcadf4',
    500: '#ca8aef',
    950: '#000000',
  },
}
SCSS
$custom: #ca8aef;
$custom-light: #dcadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8aef",
  "rgb": {
    "r": 202,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 278.02,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73482,
    "c": 0.15524,
    "h": 312.2
  },
  "luminance": 0.36966
}

Semantic roles & 50–950 ramp

primary
#CA8AEF
secondary
#E2F3D8
accent
#D80D58
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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