#CD85F5#CD85F5

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

Color values

HEX#CD85F5
RGBrgb(205, 133, 245)
HSLhsl(279, 85%, 74%)
HSVhsv(279, 46%, 96%)
CMYKcmyk(16.3%, 45.7%, 0%, 3.9%)
CIE-LABlab(66.78, 46.91, -45.48)
CIE-LCHlch(66.78, 65.34, 315.89°)
OKLaboklab(73.29% 0.1157 -0.1264)
OKLCHoklch(73.29% 0.171 312.5)
XYZxyz(50.0430, 36.3478, 90.7481)
Luminance0.3635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85F5 #ADF585
analogous
#9585F5 #CD85F5 #F585E5
triadic
#CD85F5 #F5CD85 #85F5CD
tetradic
#CD85F5 #F59585 #ADF585 #85E5F5
square
#CD85F5 #F59585 #ADF585 #85E5F5
split-complementary
#CD85F5 #E5F585 #85F595
monochromatic
#9F14EC #B64CF0 #CD85F5 #E4BEFA #F3E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD85F5#FFFFFF#000000##000000
##CD85F51.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)
#6D9FF9
Deuteranopia (green-blind)
#81A4F2
Tritanopia (blue-blind)
#C996B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd85f5;
/* rgb */ color: rgb(205, 133, 245);
/* oklch */ color: oklch(73.3% 0.171 312.5);
Tailwind
colors: {
  custom: {
    50: '#deaaf9',
    500: '#cd85f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd85f5;
$custom-light: #deaaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85f5",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 278.571,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73293,
    "c": 0.1714,
    "h": 312.5
  },
  "luminance": 0.36347
}

Semantic roles & 50–950 ramp

primary
#CD85F5
secondary
#E1F5D6
accent
#E10453
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD85F5

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

Preview Lab → · Contrast checker → · Palette generator →

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