#CA85FC#CA85FC

#CA85FC is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.3% C 0.178 H 309.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CA85FC
RGBrgb(202, 133, 252)
HSLhsl(275, 95%, 75%)
HSVhsv(275, 47%, 99%)
CMYKcmyk(19.8%, 47.2%, 0%, 1.2%)
CIE-LABlab(66.79, 47.59, -49.33)
CIE-LCHlch(66.79, 68.54, 313.98°)
OKLaboklab(73.34% 0.1131 -0.1376)
OKLCHoklch(73.34% 0.178 309.4)
XYZxyz(50.3120, 36.3606, 96.4445)
Luminance0.3636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85FC #B7FC85
analogous
#8E85FC #CA85FC #FC85F2
triadic
#CA85FC #FCCA85 #85FCCA
tetradic
#CA85FC #FC8E85 #B7FC85 #85F2FC
square
#CA85FC #FC8E85 #B7FC85 #85F2FC
split-complementary
#CA85FC #F2FC85 #85FC8E
monochromatic
#960EF9 #B049FB #CA85FC #E4C1FD #F2E1FE

Accessibility & contrast

On white

2.54
#CA85FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CA85FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85FC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85FC#FFFFFF#000000##000000
##CA85FC1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#C498B5
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca85fc;
/* rgb */ color: rgb(202, 133, 252);
/* oklch */ color: oklch(73.3% 0.178 309.4);
Tailwind
colors: {
  custom: {
    50: '#dcaafe',
    500: '#ca85fc',
    950: '#000000',
  },
}
SCSS
$custom: #ca85fc;
$custom-light: #dcaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85fc",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 274.79,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.17817,
    "h": 309.4
  },
  "luminance": 0.3636
}

Semantic roles & 50–950 ramp

primary
#CA85FC
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA85FC

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

Preview Lab → · Contrast checker → · Palette generator →

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