#CC85F5#CC85F5

#CC85F5 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.2% C 0.171 H 312.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#CC85F5
RGBrgb(204, 133, 245)
HSLhsl(278, 85%, 74%)
HSVhsv(278, 46%, 96%)
CMYKcmyk(16.7%, 45.7%, 0%, 3.9%)
CIE-LABlab(66.68, 46.64, -45.66)
CIE-LCHlch(66.68, 65.27, 315.61°)
OKLaboklab(73.19% 0.1146 -0.127)
OKLCHoklch(73.19% 0.171 312.1)
XYZxyz(49.7679, 36.2060, 90.7352)
Luminance0.3620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC85F5 #AEF585
analogous
#9485F5 #CC85F5 #F585E6
triadic
#CC85F5 #F5CC85 #85F5CC
tetradic
#CC85F5 #F59485 #AEF585 #85E6F5
square
#CC85F5 #F59485 #AEF585 #85E6F5
split-complementary
#CC85F5 #E6F585 #85F594
monochromatic
#9D14EC #B44CF0 #CC85F5 #E4BEFA #F3E3FD

Accessibility & contrast

On white

2.55
#CC85F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#CC85F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC85F5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC85F5#FFFFFF#000000##000000
##CC85F51.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9EF9
Deuteranopia (green-blind)
#80A4F2
Tritanopia (blue-blind)
#C896B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc85f5;
/* rgb */ color: rgb(204, 133, 245);
/* oklch */ color: oklch(73.2% 0.171 312.1);
Tailwind
colors: {
  custom: {
    50: '#ddaaf9',
    500: '#cc85f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc85f5;
$custom-light: #ddaaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc85f5",
  "rgb": {
    "r": 204,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 278.036,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73189,
    "c": 0.17101,
    "h": 312.1
  },
  "luminance": 0.36205
}

Semantic roles & 50–950 ramp

primary
#CC85F5
secondary
#E1F5D6
accent
#E10455
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC85F5

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

Preview Lab → · Contrast checker → · Palette generator →

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