#CD85F4#CD85F4

#CD85F4 is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.2% C 0.170 H 312.7°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CD85F4
RGBrgb(205, 133, 244)
HSLhsl(279, 83%, 74%)
HSVhsv(279, 45%, 96%)
CMYKcmyk(16%, 45.5%, 0%, 4.3%)
CIE-LABlab(66.74, 46.70, -45.01)
CIE-LCHlch(66.74, 64.86, 316.06°)
OKLaboklab(73.24% 0.1156 -0.1251)
OKLCHoklch(73.24% 0.17 312.7)
XYZxyz(49.8907, 36.2869, 89.9463)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85F4 #ACF485
analogous
#9685F4 #CD85F4 #F485E4
triadic
#CD85F4 #F4CD85 #85F4CD
tetradic
#CD85F4 #F49685 #ACF485 #85E4F4
square
#CD85F4 #F49685 #ACF485 #85E4F4
split-complementary
#CD85F4 #E4F485 #85F496
monochromatic
#9F15EA #B64DEF #CD85F4 #E4BDF9 #F3E3FC

Accessibility & contrast

On white

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

On black

8.26
#CD85F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85F4
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85F4#FFFFFF#000000##000000
##CD85F41.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF8
Deuteranopia (green-blind)
#81A4F1
Tritanopia (blue-blind)
#C996B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cd85f4;
/* rgb */ color: rgb(205, 133, 244);
/* oklch */ color: oklch(73.2% 0.170 312.7);
Tailwind
colors: {
  custom: {
    50: '#deaaf8',
    500: '#cd85f4',
    950: '#000000',
  },
}
SCSS
$custom: #cd85f4;
$custom-light: #deaaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85f4",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 244
  },
  "hsl": {
    "h": 278.919,
    "s": 83.459,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73244,
    "c": 0.17029,
    "h": 312.7
  },
  "luminance": 0.36286
}

Semantic roles & 50–950 ramp

primary
#CD85F4
secondary
#E1F4D7
accent
#E00652
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD85F4

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

Preview Lab → · Contrast checker → · Palette generator →

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