#CA85F5#CA85F5

#CA85F5 is a light, vivid violet. Relative luminance 0.359; OKLCH L 73.0% C 0.170 H 311.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#CA85F5
RGBrgb(202, 133, 245)
HSLhsl(277, 85%, 74%)
HSVhsv(277, 46%, 96%)
CMYKcmyk(17.6%, 45.7%, 0%, 3.9%)
CIE-LABlab(66.46, 46.08, -46.01)
CIE-LCHlch(66.46, 65.12, 315.04°)
OKLaboklab(72.98% 0.1122 -0.128)
OKLCHoklch(72.98% 0.17 311.2)
XYZxyz(49.2231, 35.9251, 90.7097)
Luminance0.3592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F5 #B0F585
analogous
#9285F5 #CA85F5 #F585E8
triadic
#CA85F5 #F5CA85 #85F5CA
tetradic
#CA85F5 #F59285 #B0F585 #85E8F5
square
#CA85F5 #F59285 #B0F585 #85E8F5
split-complementary
#CA85F5 #E8F585 #85F592
monochromatic
#9914EC #B14CF0 #CA85F5 #E3BEFA #F3E3FD

Accessibility & contrast

On white

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

On black

8.18
#CA85F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F5
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F5#FFFFFF#000000##000000
##CA85F51.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9EF9
Deuteranopia (green-blind)
#7FA3F2
Tritanopia (blue-blind)
#C596B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca85f5;
/* rgb */ color: rgb(202, 133, 245);
/* oklch */ color: oklch(73.0% 0.170 311.2);
Tailwind
colors: {
  custom: {
    50: '#dcaaf9',
    500: '#ca85f5',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f5;
$custom-light: #dcaaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f5",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 276.964,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.17024,
    "h": 311.2
  },
  "luminance": 0.35924
}

Semantic roles & 50–950 ramp

primary
#CA85F5
secondary
#E2F5D6
accent
#E10459
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85F5

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

Preview Lab → · Contrast checker → · Palette generator →

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