#CA8EEF#CA8EEF

#CA8EEF is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.1% C 0.149 H 311.6°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#CA8EEF
RGBrgb(202, 142, 239)
HSLhsl(277, 75%, 75%)
HSVhsv(277, 41%, 94%)
CMYKcmyk(15.5%, 40.6%, 0%, 6.3%)
CIE-LABlab(68.12, 39.98, -40.12)
CIE-LCHlch(68.12, 56.64, 314.90°)
OKLaboklab(74.13% 0.0987 -0.1111)
OKLCHoklch(74.13% 0.149 311.6)
XYZxyz(49.6074, 38.1354, 86.3922)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EEF #B3EF8E
analogous
#998EEF #CA8EEF #EF8EE4
triadic
#CA8EEF #EFCA8E #8EEFCA
tetradic
#CA8EEF #EF998E #B3EF8E #8EE4EF
square
#CA8EEF #EF998E #B3EF8E #8EE4EF
split-complementary
#CA8EEF #E4EF8E #8EEF99
monochromatic
#9823E0 #B158E7 #CA8EEF #E3C4F7 #F2E4FB

Accessibility & contrast

On white

2.43
#CA8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#CA8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EEF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EEF#FFFFFF#000000##000000
##CA8EEF1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#C69CB3
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8eef;
/* rgb */ color: rgb(202, 142, 239);
/* oklch */ color: oklch(74.1% 0.149 311.6);
Tailwind
colors: {
  custom: {
    50: '#dbb0f4',
    500: '#ca8eef',
    950: '#000000',
  },
}
SCSS
$custom: #ca8eef;
$custom-light: #dbb0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8eef",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 277.113,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.1486,
    "h": 311.6
  },
  "luminance": 0.38135
}

Semantic roles & 50–950 ramp

primary
#CA8EEF
secondary
#E2F3D8
accent
#D70E5B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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