#CA85F4#CA85F4

#CA85F4 is a light, vivid violet. Relative luminance 0.359; OKLCH L 72.9% C 0.169 H 311.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CA85F4
RGBrgb(202, 133, 244)
HSLhsl(277, 83%, 74%)
HSVhsv(277, 45%, 96%)
CMYKcmyk(17.2%, 45.5%, 0%, 4.3%)
CIE-LABlab(66.42, 45.87, -45.54)
CIE-LCHlch(66.42, 64.63, 315.21°)
OKLaboklab(72.93% 0.1121 -0.1267)
OKLCHoklch(72.93% 0.169 311.5)
XYZxyz(49.0709, 35.8642, 89.9079)
Luminance0.3586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F4 #AFF485
analogous
#9385F4 #CA85F4 #F485E7
triadic
#CA85F4 #F4CA85 #85F4CA
tetradic
#CA85F4 #F49385 #AFF485 #85E7F4
square
#CA85F4 #F49385 #AFF485 #85E7F4
split-complementary
#CA85F4 #E7F485 #85F493
monochromatic
#9915EA #B24DEF #CA85F4 #E2BDF9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.17
#CA85F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F4#FFFFFF#000000##000000
##CA85F41.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF8
Deuteranopia (green-blind)
#7FA3F1
Tritanopia (blue-blind)
#C696B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca85f4;
/* rgb */ color: rgb(202, 133, 244);
/* oklch */ color: oklch(72.9% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#dcaaf8',
    500: '#ca85f4',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f4;
$custom-light: #dcaaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f4",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 277.297,
    "s": 83.459,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72931,
    "c": 0.16912,
    "h": 311.5
  },
  "luminance": 0.35863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA85F4

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

Preview Lab → · Contrast checker → · Palette generator →

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