#CA85EF#CA85EF

#CA85EF is a light, vivid violet. Relative luminance 0.356; OKLCH L 72.7% C 0.163 H 312.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#CA85EF
RGBrgb(202, 133, 239)
HSLhsl(279, 77%, 73%)
HSVhsv(279, 44%, 94%)
CMYKcmyk(15.5%, 44.4%, 0%, 6.3%)
CIE-LABlab(66.19, 44.81, -43.15)
CIE-LCHlch(66.19, 62.21, 316.08°)
OKLaboklab(72.68% 0.1113 -0.1198)
OKLCHoklch(72.68% 0.163 312.9)
XYZxyz(48.3220, 35.5646, 85.9637)
Luminance0.3556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85EF #AAEF85
analogous
#9585EF #CA85EF #EF85DF
triadic
#CA85EF #EFCA85 #85EFCA
tetradic
#CA85EF #EF9585 #AAEF85 #85DFEF
square
#CA85EF #EF9585 #AAEF85 #85DFEF
split-complementary
#CA85EF #DFEF85 #85EF95
monochromatic
#9A1DDD #B24FE8 #CA85EF #E2BBF6 #F3E4FB

Accessibility & contrast

On white

2.59
#CA85EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#CA85EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85EF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85EF#FFFFFF#000000##000000
##CA85EF1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#C795AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca85ef;
/* rgb */ color: rgb(202, 133, 239);
/* oklch */ color: oklch(72.7% 0.163 312.9);
Tailwind
colors: {
  custom: {
    50: '#dcaaf4',
    500: '#ca85ef',
    950: '#000000',
  },
}
SCSS
$custom: #ca85ef;
$custom-light: #dcaaf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85ef",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 239
  },
  "hsl": {
    "h": 279.057,
    "s": 76.812,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72683,
    "c": 0.16349,
    "h": 312.9
  },
  "luminance": 0.35564
}

Semantic roles & 50–950 ramp

primary
#CA85EF
secondary
#E1F3D8
accent
#D90C54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85EF

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

Preview Lab → · Contrast checker → · Palette generator →

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