#CD85F9#CD85F9

#CD85F9 is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.5% C 0.176 H 311.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CD85F9
RGBrgb(205, 133, 249)
HSLhsl(277, 91%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(17.7%, 46.6%, 0%, 2.4%)
CIE-LABlab(66.97, 47.76, -47.38)
CIE-LCHlch(66.97, 67.28, 315.23°)
OKLaboklab(73.49% 0.1163 -0.1319)
OKLCHoklch(73.49% 0.176 311.4)
XYZxyz(50.6602, 36.5947, 93.9989)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85F9 #B1F985
analogous
#9385F9 #CD85F9 #F985EB
triadic
#CD85F9 #F9CD85 #85F9CD
tetradic
#CD85F9 #F99385 #B1F985 #85EBF9
square
#CD85F9 #F99385 #B1F985 #85EBF9
split-complementary
#CD85F9 #EBF985 #85F993
monochromatic
#9D10F3 #B54BF6 #CD85F9 #E5BFFC #F3E2FE

Accessibility & contrast

On white

2.52
#CD85F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CD85F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85F9
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85F9#FFFFFF#000000##000000
##CD85F91.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFD
Deuteranopia (green-blind)
#7EA4F6
Tritanopia (blue-blind)
#C897B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd85f9;
/* rgb */ color: rgb(205, 133, 249);
/* oklch */ color: oklch(73.5% 0.176 311.4);
Tailwind
colors: {
  custom: {
    50: '#deaafc',
    500: '#cd85f9',
    950: '#000000',
  },
}
SCSS
$custom: #cd85f9;
$custom-light: #deaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85f9",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 249
  },
  "hsl": {
    "h": 277.241,
    "s": 90.625,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73494,
    "c": 0.17586,
    "h": 311.4
  },
  "luminance": 0.36594
}

Semantic roles & 50–950 ramp

primary
#CD85F9
secondary
#E2F6D5
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD85F9

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

Preview Lab → · Contrast checker → · Palette generator →

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