#CA85F2#CA85F2

#CA85F2 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.8% C 0.167 H 312.1°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CA85F2
RGBrgb(202, 133, 242)
HSLhsl(278, 81%, 74%)
HSVhsv(278, 45%, 95%)
CMYKcmyk(16.5%, 45%, 0%, 5.1%)
CIE-LABlab(66.32, 45.44, -44.58)
CIE-LCHlch(66.32, 63.66, 315.55°)
OKLaboklab(72.83% 0.1118 -0.1239)
OKLCHoklch(72.83% 0.167 312.1)
XYZxyz(48.7689, 35.7434, 88.3172)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F2 #ADF285
analogous
#9385F2 #CA85F2 #F285E3
triadic
#CA85F2 #F2CA85 #85F2CA
tetradic
#CA85F2 #F29385 #ADF285 #85E3F2
square
#CA85F2 #F29385 #ADF285 #85E3F2
split-complementary
#CA85F2 #E3F285 #85F293
monochromatic
#9918E4 #B24EEC #CA85F2 #E2BCF8 #F3E3FC

Accessibility & contrast

On white

2.58
#CA85F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CA85F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F2#FFFFFF#000000##000000
##CA85F21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#C696B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca85f2;
/* rgb */ color: rgb(202, 133, 242);
/* oklch */ color: oklch(72.8% 0.167 312.1);
Tailwind
colors: {
  custom: {
    50: '#dcaaf7',
    500: '#ca85f2',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f2;
$custom-light: #dcaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f2",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 277.982,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72831,
    "c": 0.16686,
    "h": 312.1
  },
  "luminance": 0.35742
}

Semantic roles & 50–950 ramp

primary
#CA85F2
secondary
#E2F4D7
accent
#DD0856
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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