#CC85F7#CC85F7

#CC85F7 is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.3% C 0.173 H 311.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#CC85F7
RGBrgb(204, 133, 247)
HSLhsl(277, 88%, 75%)
HSVhsv(277, 46%, 97%)
CMYKcmyk(17.4%, 46.2%, 0%, 3.1%)
CIE-LABlab(66.77, 47.06, -46.61)
CIE-LCHlch(66.77, 66.24, 315.27°)
OKLaboklab(73.29% 0.1148 -0.1297)
OKLCHoklch(73.29% 0.173 311.5)
XYZxyz(50.0749, 36.3288, 92.3519)
Luminance0.3633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC85F7 #B0F785
analogous
#9385F7 #CC85F7 #F785E9
triadic
#CC85F7 #F7CC85 #85F7CC
tetradic
#CC85F7 #F79385 #B0F785 #85E9F7
square
#CC85F7 #F79385 #B0F785 #85E9F7
split-complementary
#CC85F7 #E9F785 #85F793
monochromatic
#9C12EF #B44CF3 #CC85F7 #E4BEFB #F3E2FD

Accessibility & contrast

On white

2.54
#CC85F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#CC85F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC85F7
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC85F7#FFFFFF#000000##000000
##CC85F71.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc85f7;
/* rgb */ color: rgb(204, 133, 247);
/* oklch */ color: oklch(73.3% 0.173 311.5);
Tailwind
colors: {
  custom: {
    50: '#ddaafa',
    500: '#cc85f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc85f7;
$custom-light: #ddaafa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc85f7",
  "rgb": {
    "r": 204,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 277.368,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73289,
    "c": 0.17325,
    "h": 311.5
  },
  "luminance": 0.36328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC85F7

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

Preview Lab → · Contrast checker → · Palette generator →

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