#CC85F2#CC85F2

#CC85F2 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.0% C 0.168 H 312.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CC85F2
RGBrgb(204, 133, 242)
HSLhsl(279, 81%, 74%)
HSVhsv(279, 45%, 95%)
CMYKcmyk(15.7%, 45%, 0%, 5.1%)
CIE-LABlab(66.54, 46.00, -44.23)
CIE-LCHlch(66.54, 63.82, 316.13°)
OKLaboklab(73.04% 0.1141 -0.1228)
OKLCHoklch(73.04% 0.168 312.9)
XYZxyz(49.3137, 36.0243, 88.3428)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC85F2 #ABF285
analogous
#9585F2 #CC85F2 #F285E1
triadic
#CC85F2 #F2CC85 #85F2CC
tetradic
#CC85F2 #F29585 #ABF285 #85E1F2
square
#CC85F2 #F29585 #ABF285 #85E1F2
split-complementary
#CC85F2 #E1F285 #85F295
monochromatic
#9D18E4 #B54EEC #CC85F2 #E3BCF8 #F3E3FC

Accessibility & contrast

On white

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

On black

8.20
#CC85F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC85F2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC85F2#FFFFFF#000000##000000
##CC85F21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#81A4EF
Tritanopia (blue-blind)
#C995B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc85f2;
/* rgb */ color: rgb(204, 133, 242);
/* oklch */ color: oklch(73.0% 0.168 312.9);
Tailwind
colors: {
  custom: {
    50: '#ddaaf7',
    500: '#cc85f2',
    950: '#000000',
  },
}
SCSS
$custom: #cc85f2;
$custom-light: #ddaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc85f2",
  "rgb": {
    "r": 204,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 279.083,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7304,
    "c": 0.16766,
    "h": 312.9
  },
  "luminance": 0.36023
}

Semantic roles & 50–950 ramp

primary
#CC85F2
secondary
#E1F4D7
accent
#DD0853
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CC85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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