#CA8EFE#CA8EFE

#CA8EFE is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.9% C 0.166 H 307.6°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CA8EFE
RGBrgb(202, 142, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 44%, 100%)
CMYKcmyk(20.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(68.79, 43.23, -47.27)
CIE-LCHlch(68.79, 64.05, 312.44°)
OKLaboklab(74.86% 0.1013 -0.1317)
OKLCHoklch(74.86% 0.166 307.6)
XYZxyz(51.9160, 39.0589, 98.5509)
Luminance0.3906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EFE #C2FE8E
analogous
#928EFE #CA8EFE #FE8EFA
triadic
#CA8EFE #FECA8E #8EFECA
tetradic
#CA8EFE #FE928E #C2FE8E #8EFAFE
square
#CA8EFE #FE928E #C2FE8E #8EFAFE
split-complementary
#CA8EFE #FAFE8E #8EFE92
monochromatic
#9115FD #AE51FD #CA8EFE #E6CBFF #F1E1FF

Accessibility & contrast

On white

2.38
#CA8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CA8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EFE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EFE#FFFFFF#000000##000000
##CA8EFE1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#82A9FB
Tritanopia (blue-blind)
#C3A0BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ca8efe;
/* rgb */ color: rgb(202, 142, 254);
/* oklch */ color: oklch(74.9% 0.166 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcb0ff',
    500: '#ca8efe',
    950: '#000000',
  },
}
SCSS
$custom: #ca8efe;
$custom-light: #dcb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8efe",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 272.143,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74861,
    "c": 0.16613,
    "h": 307.6
  },
  "luminance": 0.39058
}

Semantic roles & 50–950 ramp

primary
#CA8EFE
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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