#CA85F9#CA85F9

#CA85F9 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.2% C 0.175 H 310.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CA85F9
RGBrgb(202, 133, 249)
HSLhsl(276, 91%, 75%)
HSVhsv(276, 47%, 98%)
CMYKcmyk(18.9%, 46.6%, 0%, 2.4%)
CIE-LABlab(66.65, 46.94, -47.91)
CIE-LCHlch(66.65, 67.07, 314.42°)
OKLaboklab(73.18% 0.1128 -0.1335)
OKLCHoklch(73.18% 0.175 310.2)
XYZxyz(49.8404, 36.1720, 93.9605)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F9 #B4F985
analogous
#9085F9 #CA85F9 #F985EE
triadic
#CA85F9 #F9CA85 #85F9CA
tetradic
#CA85F9 #F99085 #B4F985 #85EEF9
square
#CA85F9 #F99085 #B4F985 #85EEF9
split-complementary
#CA85F9 #EEF985 #85F990
monochromatic
#9710F3 #B14BF6 #CA85F9 #E3BFFC #F2E2FE

Accessibility & contrast

On white

2.55
#CA85F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CA85F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F9
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F9#FFFFFF#000000##000000
##CA85F91.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9FFD
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#C498B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca85f9;
/* rgb */ color: rgb(202, 133, 249);
/* oklch */ color: oklch(73.2% 0.175 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcaafc',
    500: '#ca85f9',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f9;
$custom-light: #dcaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f9",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 275.69,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73183,
    "c": 0.17477,
    "h": 310.2
  },
  "luminance": 0.36171
}

Semantic roles & 50–950 ramp

primary
#CA85F9
secondary
#E2F6D5
accent
#E6005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85F9

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

Preview Lab → · Contrast checker → · Palette generator →

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