#CD85F8#CD85F8

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

Color values

HEX#CD85F8
RGBrgb(205, 133, 248)
HSLhsl(278, 89%, 75%)
HSVhsv(278, 46%, 97%)
CMYKcmyk(17.3%, 46.4%, 0%, 2.7%)
CIE-LABlab(66.92, 47.55, -46.91)
CIE-LCHlch(66.92, 66.79, 315.39°)
OKLaboklab(73.44% 0.1161 -0.1306)
OKLCHoklch(73.44% 0.175 311.7)
XYZxyz(50.5047, 36.5325, 93.1797)
Luminance0.3653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85F8 #B0F885
analogous
#9485F8 #CD85F8 #F885EA
triadic
#CD85F8 #F8CD85 #85F8CD
tetradic
#CD85F8 #F89485 #B0F885 #85EAF8
square
#CD85F8 #F89485 #B0F885 #85EAF8
split-complementary
#CD85F8 #EAF885 #85F894
monochromatic
#9E11F1 #B54BF5 #CD85F8 #E5BFFB #F3E2FD

Accessibility & contrast

On white

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

On black

8.31
#CD85F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85F8
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85F8#FFFFFF#000000##000000
##CD85F81.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9FFC
Deuteranopia (green-blind)
#7FA4F5
Tritanopia (blue-blind)
#C897B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd85f8;
/* rgb */ color: rgb(205, 133, 248);
/* oklch */ color: oklch(73.4% 0.175 311.7);
Tailwind
colors: {
  custom: {
    50: '#deaafb',
    500: '#cd85f8',
    950: '#000000',
  },
}
SCSS
$custom: #cd85f8;
$custom-light: #deaafb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85f8",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 248
  },
  "hsl": {
    "h": 277.565,
    "s": 89.147,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73443,
    "c": 0.17475,
    "h": 311.7
  },
  "luminance": 0.36532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD85F8

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

Preview Lab → · Contrast checker → · Palette generator →

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