#CD85FE#CD85FE

#CD85FE is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.7% C 0.181 H 310.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CD85FE
RGBrgb(205, 133, 254)
HSLhsl(276, 98%, 76%)
HSVhsv(276, 48%, 100%)
CMYKcmyk(19.3%, 47.6%, 0%, 0.4%)
CIE-LABlab(67.21, 48.83, -49.74)
CIE-LCHlch(67.21, 69.70, 314.47°)
OKLaboklab(73.75% 0.1169 -0.1388)
OKLCHoklch(73.75% 0.181 310.1)
XYZxyz(51.4504, 36.9108, 98.1608)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85FE #B6FE85
analogous
#9085FE #CD85FE #FE85F3
triadic
#CD85FE #FECD85 #85FECD
tetradic
#CD85FE #FE9085 #B6FE85 #85F3FE
square
#CD85FE #FE9085 #B6FE85 #85F3FE
split-complementary
#CD85FE #F3FE85 #85FE90
monochromatic
#9B0CFD #B448FE #CD85FE #E6C2FE #F3E1FF

Accessibility & contrast

On white

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

On black

8.38
#CD85FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85FE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85FE#FFFFFF#000000##000000
##CD85FE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#C799B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd85fe;
/* rgb */ color: rgb(205, 133, 254);
/* oklch */ color: oklch(73.7% 0.181 310.1);
Tailwind
colors: {
  custom: {
    50: '#deaaff',
    500: '#cd85fe',
    950: '#000000',
  },
}
SCSS
$custom: #cd85fe;
$custom-light: #deaaff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85fe",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 254
  },
  "hsl": {
    "h": 275.702,
    "s": 98.374,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73749,
    "c": 0.18147,
    "h": 310.1
  },
  "luminance": 0.3691
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD85FE

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

Preview Lab → · Contrast checker → · Palette generator →

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