#CA85FB#CA85FB

#CA85FB is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.3% C 0.177 H 309.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CA85FB
RGBrgb(202, 133, 251)
HSLhsl(275, 94%, 75%)
HSVhsv(275, 47%, 98%)
CMYKcmyk(19.5%, 47%, 0%, 1.6%)
CIE-LABlab(66.75, 47.38, -48.85)
CIE-LCHlch(66.75, 68.05, 314.12°)
OKLaboklab(73.29% 0.113 -0.1363)
OKLCHoklch(73.29% 0.177 309.7)
XYZxyz(50.1540, 36.2974, 95.6121)
Luminance0.3630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85FB #B6FB85
analogous
#8F85FB #CA85FB #FB85F1
triadic
#CA85FB #FBCA85 #85FBCA
tetradic
#CA85FB #FB8F85 #B6FB85 #85F1FB
square
#CA85FB #FB8F85 #B6FB85 #85F1FB
split-complementary
#CA85FB #F1FB85 #85FB8F
monochromatic
#970EF7 #B04AF9 #CA85FB #E4C0FD #F2E1FE

Accessibility & contrast

On white

2.54
#CA85FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CA85FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85FB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85FB#FFFFFF#000000##000000
##CA85FB1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689FFF
Deuteranopia (green-blind)
#7BA4F8
Tritanopia (blue-blind)
#C498B4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca85fb;
/* rgb */ color: rgb(202, 133, 251);
/* oklch */ color: oklch(73.3% 0.177 309.7);
Tailwind
colors: {
  custom: {
    50: '#dcaafd',
    500: '#ca85fb',
    950: '#000000',
  },
}
SCSS
$custom: #ca85fb;
$custom-light: #dcaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85fb",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 275.085,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73285,
    "c": 0.17703,
    "h": 309.7
  },
  "luminance": 0.36297
}

Semantic roles & 50–950 ramp

primary
#CA85FB
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CA85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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