#CA85FE#CA85FE

#CA85FE is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.4% C 0.180 H 308.9°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CA85FE
RGBrgb(202, 133, 254)
HSLhsl(274, 98%, 76%)
HSVhsv(274, 48%, 100%)
CMYKcmyk(20.5%, 47.6%, 0%, 0.4%)
CIE-LABlab(66.89, 48.03, -50.27)
CIE-LCHlch(66.89, 69.52, 313.70°)
OKLaboklab(73.44% 0.1134 -0.1404)
OKLCHoklch(73.44% 0.18 308.9)
XYZxyz(50.6306, 36.4881, 98.1224)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85FE #B9FE85
analogous
#8D85FE #CA85FE #FE85F5
triadic
#CA85FE #FECA85 #85FECA
tetradic
#CA85FE #FE8D85 #B9FE85 #85F5FE
square
#CA85FE #FE8D85 #B9FE85 #85F5FE
split-complementary
#CA85FE #F5FE85 #85FE8D
monochromatic
#950CFD #B048FE #CA85FE #E4C2FE #F2E1FF

Accessibility & contrast

On white

2.53
#CA85FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CA85FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85FE
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85FE#FFFFFF#000000##000000
##CA85FE1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#66A0FF
Deuteranopia (green-blind)
#79A4FB
Tritanopia (blue-blind)
#C399B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ca85fe;
/* rgb */ color: rgb(202, 133, 254);
/* oklch */ color: oklch(73.4% 0.180 308.9);
Tailwind
colors: {
  custom: {
    50: '#dcaaff',
    500: '#ca85fe',
    950: '#000000',
  },
}
SCSS
$custom: #ca85fe;
$custom-light: #dcaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85fe",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 274.215,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7344,
    "c": 0.18045,
    "h": 308.9
  },
  "luminance": 0.36487
}

Semantic roles & 50–950 ramp

primary
#CA85FE
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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