#CA8BFC#CA8BFC

#CA8BFC is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.169 H 308.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CA8BFC
RGBrgb(202, 139, 252)
HSLhsl(273, 95%, 77%)
HSVhsv(273, 45%, 99%)
CMYKcmyk(19.8%, 44.8%, 0%, 1.2%)
CIE-LABlab(68.06, 44.40, -47.33)
CIE-LCHlch(68.06, 64.90, 313.17°)
OKLaboklab(74.28% 0.105 -0.1319)
OKLCHoklch(74.28% 0.169 308.5)
XYZxyz(51.1571, 38.0507, 96.7261)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BFC #BDFC8B
analogous
#928BFC #CA8BFC #FC8BF6
triadic
#CA8BFC #FCCA8B #8BFCCA
tetradic
#CA8BFC #FC928B #BDFC8B #8BF6FC
square
#CA8BFC #FC928B #BDFC8B #8BF6FC
split-complementary
#CA8BFC #F6FC8B #8BFC92
monochromatic
#9314F9 #AF4FFA #CA8BFC #E5C7FE #F1E1FE

Accessibility & contrast

On white

2.44
#CA8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CA8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BFC
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BFC#FFFFFF#000000##000000
##CA8BFC1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#80A7F9
Tritanopia (blue-blind)
#C39DB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ca8bfc;
/* rgb */ color: rgb(202, 139, 252);
/* oklch */ color: oklch(74.3% 0.169 308.5);
Tailwind
colors: {
  custom: {
    50: '#dcaefe',
    500: '#ca8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bfc;
$custom-light: #dcaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bfc",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 273.451,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7428,
    "c": 0.16861,
    "h": 308.5
  },
  "luminance": 0.3805
}

Semantic roles & 50–950 ramp

primary
#CA8BFC
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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