#CA85FA#CA85FA

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

Color values

HEX#CA85FA
RGBrgb(202, 133, 250)
HSLhsl(275, 92%, 75%)
HSVhsv(275, 47%, 98%)
CMYKcmyk(19.2%, 46.8%, 0%, 2%)
CIE-LABlab(66.70, 47.16, -48.38)
CIE-LCHlch(66.70, 67.56, 314.27°)
OKLaboklab(73.23% 0.1129 -0.1349)
OKLCHoklch(73.23% 0.176 309.9)
XYZxyz(49.9968, 36.2345, 94.7841)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85FA #B5FA85
analogous
#9085FA #CA85FA #FA85EF
triadic
#CA85FA #FACA85 #85FACA
tetradic
#CA85FA #FA9085 #B5FA85 #85EFFA
square
#CA85FA #FA9085 #B5FA85 #85EFFA
split-complementary
#CA85FA #EFFA85 #85FA90
monochromatic
#970FF5 #B04AF8 #CA85FA #E4C0FC #F2E2FE

Accessibility & contrast

On white

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

On black

8.25
#CA85FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85FA
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85FA#FFFFFF#000000##000000
##CA85FA1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFE
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#C498B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca85fa;
/* rgb */ color: rgb(202, 133, 250);
/* oklch */ color: oklch(73.2% 0.176 309.9);
Tailwind
colors: {
  custom: {
    50: '#dcaafc',
    500: '#ca85fa',
    950: '#000000',
  },
}
SCSS
$custom: #ca85fa;
$custom-light: #dcaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85fa",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 275.385,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.17591,
    "h": 309.9
  },
  "luminance": 0.36234
}

Semantic roles & 50–950 ramp

primary
#CA85FA
secondary
#E3F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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