#CA85F3#CA85F3

#CA85F3 is a light, vivid violet. Relative luminance 0.358; OKLCH L 72.9% C 0.168 H 311.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#CA85F3
RGBrgb(202, 133, 243)
HSLhsl(278, 82%, 74%)
HSVhsv(278, 45%, 95%)
CMYKcmyk(16.9%, 45.3%, 0%, 4.7%)
CIE-LABlab(66.37, 45.66, -45.06)
CIE-LCHlch(66.37, 64.15, 315.38°)
OKLaboklab(72.88% 0.1119 -0.1253)
OKLCHoklch(72.88% 0.168 311.8)
XYZxyz(48.9195, 35.8036, 89.1104)
Luminance0.3580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F3 #AEF385
analogous
#9385F3 #CA85F3 #F385E5
triadic
#CA85F3 #F3CA85 #85F3CA
tetradic
#CA85F3 #F39385 #AEF385 #85E5F3
square
#CA85F3 #F39385 #AEF385 #85E5F3
split-complementary
#CA85F3 #E5F385 #85F393
monochromatic
#9917E7 #B24DEE #CA85F3 #E2BDF8 #F3E3FC

Accessibility & contrast

On white

2.57
#CA85F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#CA85F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F3#FFFFFF#000000##000000
##CA85F31.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF7
Deuteranopia (green-blind)
#80A3F0
Tritanopia (blue-blind)
#C696B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca85f3;
/* rgb */ color: rgb(202, 133, 243);
/* oklch */ color: oklch(72.9% 0.168 311.8);
Tailwind
colors: {
  custom: {
    50: '#dcaaf7',
    500: '#ca85f3',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f3;
$custom-light: #dcaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f3",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 243
  },
  "hsl": {
    "h": 277.636,
    "s": 82.09,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72881,
    "c": 0.16799,
    "h": 311.8
  },
  "luminance": 0.35803
}

Semantic roles & 50–950 ramp

primary
#CA85F3
secondary
#E2F4D7
accent
#DE0757
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85F3

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

Preview Lab → · Contrast checker → · Palette generator →

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