#CA8FEB#CA8FEB

#CA8FEB is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.1% C 0.142 H 312.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#CA8FEB
RGBrgb(202, 143, 235)
HSLhsl(278, 70%, 74%)
HSVhsv(278, 39%, 92%)
CMYKcmyk(14%, 39.1%, 0%, 7.8%)
CIE-LABlab(68.17, 38.59, -37.85)
CIE-LCHlch(68.17, 54.06, 315.56°)
OKLaboklab(74.11% 0.0965 -0.1045)
OKLCHoklch(74.11% 0.142 312.7)
XYZxyz(49.1725, 38.2006, 83.3642)
Luminance0.3820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FEB #B0EB8F
analogous
#9C8FEB #CA8FEB #EB8FDE
triadic
#CA8FEB #EBCA8F #8FEBCA
tetradic
#CA8FEB #EB9C8F #B0EB8F #8FDEEB
square
#CA8FEB #EB9C8F #B0EB8F #8FDEEB
split-complementary
#CA8FEB #DEEB8F #8FEB9C
monochromatic
#9927D8 #B15BE2 #CA8FEB #E3C3F4 #F3E5FA

Accessibility & contrast

On white

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

On black

8.64
#CA8FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FEB
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FEB#FFFFFF#000000##000000
##CA8FEB1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA3EE
Deuteranopia (green-blind)
#8CA8E8
Tritanopia (blue-blind)
#C79CB2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8feb;
/* rgb */ color: rgb(202, 143, 235);
/* oklch */ color: oklch(74.1% 0.142 312.7);
Tailwind
colors: {
  custom: {
    50: '#dbb1f1',
    500: '#ca8feb',
    950: '#000000',
  },
}
SCSS
$custom: #ca8feb;
$custom-light: #dbb1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8feb",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 278.478,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74115,
    "c": 0.14228,
    "h": 312.7
  },
  "luminance": 0.382
}

Semantic roles & 50–950 ramp

primary
#CA8FEB
secondary
#E2F2D9
accent
#D21458
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CA8FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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