#CA8BF5#CA8BF5

#CA8BF5 is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.161 H 310.4°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CA8BF5
RGBrgb(202, 139, 245)
HSLhsl(276, 84%, 75%)
HSVhsv(276, 43%, 96%)
CMYKcmyk(17.6%, 43.3%, 0%, 3.9%)
CIE-LABlab(67.74, 42.88, -44.01)
CIE-LCHlch(67.74, 61.45, 314.25°)
OKLaboklab(73.93% 0.104 -0.1223)
OKLCHoklch(73.93% 0.161 310.4)
XYZxyz(50.0682, 37.6152, 90.9914)
Luminance0.3761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8BF5 #B6F58B
analogous
#958BF5 #CA8BF5 #F58BEB
triadic
#CA8BF5 #F5CA8B #8BF5CA
tetradic
#CA8BF5 #F5958B #B6F58B #8BEBF5
square
#CA8BF5 #F5958B #B6F58B #8BEBF5
split-complementary
#CA8BF5 #EBF58B #8BF595
monochromatic
#971AEB #B053F0 #CA8BF5 #E4C3FA #F2E3FD

Accessibility & contrast

On white

2.46
#CA8BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CA8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8BF5
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8BF5#FFFFFF#000000##000000
##CA8BF51.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F9
Deuteranopia (green-blind)
#84A6F2
Tritanopia (blue-blind)
#C59BB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ca8bf5;
/* rgb */ color: rgb(202, 139, 245);
/* oklch */ color: oklch(73.9% 0.161 310.4);
Tailwind
colors: {
  custom: {
    50: '#dcaef9',
    500: '#ca8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #ca8bf5;
$custom-light: #dcaef9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8bf5",
  "rgb": {
    "r": 202,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 275.66,
    "s": 84.127,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73933,
    "c": 0.1605,
    "h": 310.4
  },
  "luminance": 0.37614
}

Semantic roles & 50–950 ramp

primary
#CA8BF5
secondary
#E3F5D6
accent
#E1055E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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