#CA8EFB#CA8EFB

#CA8EFB is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.7% C 0.163 H 308.3°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CA8EFB
RGBrgb(202, 142, 251)
HSLhsl(273, 93%, 77%)
HSVhsv(273, 43%, 98%)
CMYKcmyk(19.5%, 43.4%, 0%, 1.6%)
CIE-LABlab(68.66, 42.57, -45.85)
CIE-LCHlch(68.66, 62.56, 312.88°)
OKLaboklab(74.71% 0.1008 -0.1276)
OKLCHoklch(74.71% 0.163 308.3)
XYZxyz(51.4394, 38.8682, 96.0405)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8EFB #BFFB8E
analogous
#948EFB #CA8EFB #FB8EF5
triadic
#CA8EFB #FBCA8E #8EFBCA
tetradic
#CA8EFB #FB948E #BFFB8E #8EF5FB
square
#CA8EFB #FB948E #BFFB8E #8EF5FB
split-complementary
#CA8EFB #F5FB8E #8EFB94
monochromatic
#9318F7 #AE53F9 #CA8EFB #E6C9FD #F1E1FE

Accessibility & contrast

On white

2.39
#CA8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CA8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8EFB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8EFB#FFFFFF#000000##000000
##CA8EFB1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FF
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#C39FB9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ca8efb;
/* rgb */ color: rgb(202, 142, 251);
/* oklch */ color: oklch(74.7% 0.163 308.3);
Tailwind
colors: {
  custom: {
    50: '#dcb0fd',
    500: '#ca8efb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8efb;
$custom-light: #dcb0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8efb",
  "rgb": {
    "r": 202,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 273.028,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74713,
    "c": 0.16261,
    "h": 308.3
  },
  "luminance": 0.38868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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