#CD85F2#CD85F2

#CD85F2 is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.168 H 313.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#CD85F2
RGBrgb(205, 133, 242)
HSLhsl(280, 81%, 74%)
HSVhsv(280, 45%, 95%)
CMYKcmyk(15.3%, 45%, 0%, 5.1%)
CIE-LABlab(66.65, 46.28, -44.05)
CIE-LCHlch(66.65, 63.90, 316.41°)
OKLaboklab(73.15% 0.1153 -0.1223)
OKLCHoklch(73.15% 0.168 313.3)
XYZxyz(49.5887, 36.1661, 88.3557)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85F2 #AAF285
analogous
#9685F2 #CD85F2 #F285E0
triadic
#CD85F2 #F2CD85 #85F2CD
tetradic
#CD85F2 #F29685 #AAF285 #85E0F2
square
#CD85F2 #F29685 #AAF285 #85E0F2
split-complementary
#CD85F2 #E0F285 #85F296
monochromatic
#9F18E4 #B64EEC #CD85F2 #E4BCF8 #F4E3FC

Accessibility & contrast

On white

2.55
#CD85F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#CD85F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85F2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85F2#FFFFFF#000000##000000
##CD85F21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#CA95B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd85f2;
/* rgb */ color: rgb(205, 133, 242);
/* oklch */ color: oklch(73.1% 0.168 313.3);
Tailwind
colors: {
  custom: {
    50: '#deaaf7',
    500: '#cd85f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd85f2;
$custom-light: #deaaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85f2",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 242
  },
  "hsl": {
    "h": 279.633,
    "s": 80.741,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73145,
    "c": 0.16807,
    "h": 313.3
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#CD85F2
secondary
#E1F4D7
accent
#DD0851
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CD85F2

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

Preview Lab → · Contrast checker → · Palette generator →

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