#CD85F7#CD85F7

#CD85F7 is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.4% C 0.174 H 311.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CD85F7
RGBrgb(205, 133, 247)
HSLhsl(278, 88%, 75%)
HSVhsv(278, 46%, 97%)
CMYKcmyk(17%, 46.2%, 0%, 3.1%)
CIE-LABlab(66.88, 47.33, -46.43)
CIE-LCHlch(66.88, 66.31, 315.55°)
OKLaboklab(73.39% 0.116 -0.1292)
OKLCHoklch(73.39% 0.174 311.9)
XYZxyz(50.3499, 36.4706, 92.3648)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85F7 #AFF785
analogous
#9485F7 #CD85F7 #F785E8
triadic
#CD85F7 #F7CD85 #85F7CD
tetradic
#CD85F7 #F79485 #AFF785 #85E8F7
square
#CD85F7 #F79485 #AFF785 #85E8F7
split-complementary
#CD85F7 #E8F785 #85F794
monochromatic
#9E12EF #B54CF3 #CD85F7 #E5BEFB #F3E2FD

Accessibility & contrast

On white

2.53
#CD85F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#CD85F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85F7
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85F7#FFFFFF#000000##000000
##CD85F71.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#80A4F4
Tritanopia (blue-blind)
#C997B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd85f7;
/* rgb */ color: rgb(205, 133, 247);
/* oklch */ color: oklch(73.4% 0.174 311.9);
Tailwind
colors: {
  custom: {
    50: '#deaafa',
    500: '#cd85f7',
    950: '#000000',
  },
}
SCSS
$custom: #cd85f7;
$custom-light: #deaafa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85f7",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 247
  },
  "hsl": {
    "h": 277.895,
    "s": 87.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73393,
    "c": 0.17363,
    "h": 311.9
  },
  "luminance": 0.3647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD85F7

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

Preview Lab → · Contrast checker → · Palette generator →

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