#CA85F0#CA85F0

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

Color values

HEX#CA85F0
RGBrgb(202, 133, 240)
HSLhsl(279, 78%, 73%)
HSVhsv(279, 45%, 94%)
CMYKcmyk(15.8%, 44.6%, 0%, 5.9%)
CIE-LABlab(66.23, 45.02, -43.63)
CIE-LCHlch(66.23, 62.69, 315.90°)
OKLaboklab(72.73% 0.1115 -0.1211)
OKLCHoklch(72.73% 0.165 312.6)
XYZxyz(48.4702, 35.6239, 86.7439)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA85F0 #ABF085
analogous
#9485F0 #CA85F0 #F085E0
triadic
#CA85F0 #F0CA85 #85F0CA
tetradic
#CA85F0 #F09485 #ABF085 #85E0F0
square
#CA85F0 #F09485 #ABF085 #85E0F0
split-complementary
#CA85F0 #E0F085 #85F094
monochromatic
#9A1BDF #B24EE9 #CA85F0 #E2BBF7 #F3E4FC

Accessibility & contrast

On white

2.58
#CA85F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CA85F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA85F0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA85F0#FFFFFF#000000##000000
##CA85F01.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9DF4
Deuteranopia (green-blind)
#81A3ED
Tritanopia (blue-blind)
#C695AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca85f0;
/* rgb */ color: rgb(202, 133, 240);
/* oklch */ color: oklch(72.7% 0.165 312.6);
Tailwind
colors: {
  custom: {
    50: '#dcaaf5',
    500: '#ca85f0',
    950: '#000000',
  },
}
SCSS
$custom: #ca85f0;
$custom-light: #dcaaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca85f0",
  "rgb": {
    "r": 202,
    "g": 133,
    "b": 240
  },
  "hsl": {
    "h": 278.692,
    "s": 78.102,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72733,
    "c": 0.16462,
    "h": 312.6
  },
  "luminance": 0.35623
}

Semantic roles & 50–950 ramp

primary
#CA85F0
secondary
#E1F3D8
accent
#DA0B55
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CA85F0

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

Preview Lab → · Contrast checker → · Palette generator →

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