#CA85F7#CA85F7

#CA85F7 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.1% C 0.172 H 310.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CA85F7
RGBrgb(202, 133, 247)
HSLhsl(276, 88%, 75%)
HSVhsv(276, 46%, 97%)
CMYKcmyk(18.2%, 46.2%, 0%, 3.1%)
CIE-LABlab(66.56, 46.51, -46.96)
CIE-LCHlch(66.56, 66.10, 314.72°)
OKLaboklab(73.08% 0.1125 -0.1308)
OKLCHoklch(73.08% 0.173 310.7)
XYZxyz(49.5301, 36.0479, 92.3264)
Luminance0.3605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F7 #B2F785
analogous
#9185F7 #CA85F7 #F785EB
triadic
#CA85F7 #F7CA85 #85F7CA
tetradic
#CA85F7 #F79185 #B2F785 #85EBF7
square
#CA85F7 #F79185 #B2F785 #85EBF7
split-complementary
#CA85F7 #EBF785 #85F791
monochromatic
#9812EF #B14CF3 #CA85F7 #E3BEFB #F3E2FD

Accessibility & contrast

On white

2.56
#CA85F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#CA85F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F7#FFFFFF#000000##000000
##CA85F71.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFB
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#C597B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ca85f7;
/* rgb */ color: rgb(202, 133, 247);
/* oklch */ color: oklch(73.1% 0.172 310.7);
Tailwind
colors: {
  custom: {
    50: '#dcaafa',
    500: '#ca85f7',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f7;
$custom-light: #dcaafa;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f7",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 276.316,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73081,
    "c": 0.1725,
    "h": 310.7
  },
  "luminance": 0.36047
}

Semantic roles & 50–950 ramp

primary
#CA85F7
secondary
#E2F5D6
accent
#E4015B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85F7

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

Preview Lab → · Contrast checker → · Palette generator →

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