#CC85FE#CC85FE

#CC85FE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.6% C 0.181 H 309.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CC85FE
RGBrgb(204, 133, 254)
HSLhsl(275, 98%, 76%)
HSVhsv(275, 48%, 100%)
CMYKcmyk(19.7%, 47.6%, 0%, 0.4%)
CIE-LABlab(67.10, 48.56, -49.92)
CIE-LCHlch(67.10, 69.64, 314.21°)
OKLaboklab(73.65% 0.1157 -0.1393)
OKLCHoklch(73.65% 0.181 309.7)
XYZxyz(51.1754, 36.7690, 98.1479)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC85FE #B7FE85
analogous
#8F85FE #CC85FE #FE85F3
triadic
#CC85FE #FECC85 #85FECC
tetradic
#CC85FE #FE8F85 #B7FE85 #85F3FE
square
#CC85FE #FE8F85 #B7FE85 #85F3FE
split-complementary
#CC85FE #F3FE85 #85FE8F
monochromatic
#990CFD #B348FE #CC85FE #E5C2FE #F2E1FF

Accessibility & contrast

On white

2.51
#CC85FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CC85FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC85FE
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC85FE#FFFFFF#000000##000000
##CC85FE1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#7BA5FB
Tritanopia (blue-blind)
#C699B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc85fe;
/* rgb */ color: rgb(204, 133, 254);
/* oklch */ color: oklch(73.6% 0.181 309.7);
Tailwind
colors: {
  custom: {
    50: '#deaaff',
    500: '#cc85fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc85fe;
$custom-light: #deaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc85fe",
  "rgb": {
    "r": 204,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 275.207,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73646,
    "c": 0.18113,
    "h": 309.7
  },
  "luminance": 0.36768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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