#CD85FB#CD85FB

#CD85FB is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.6% C 0.178 H 310.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CD85FB
RGBrgb(205, 133, 251)
HSLhsl(277, 94%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(18.3%, 47%, 0%, 1.6%)
CIE-LABlab(67.07, 48.19, -48.33)
CIE-LCHlch(67.07, 68.25, 314.92°)
OKLaboklab(73.6% 0.1165 -0.1347)
OKLCHoklch(73.6% 0.178 310.9)
XYZxyz(50.9738, 36.7201, 95.6505)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85FB #B3FB85
analogous
#9285FB #CD85FB #FB85EE
triadic
#CD85FB #FBCD85 #85FBCD
tetradic
#CD85FB #FB9285 #B3FB85 #85EEFB
square
#CD85FB #FB9285 #B3FB85 #85EEFB
split-complementary
#CD85FB #EEFB85 #85FB92
monochromatic
#9C0EF7 #B54AF9 #CD85FB #E5C0FD #F3E1FE

Accessibility & contrast

On white

2.52
#CD85FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#CD85FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85FB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85FB#FFFFFF#000000##000000
##CD85FB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#69A0FF
Deuteranopia (green-blind)
#7DA5F8
Tritanopia (blue-blind)
#C898B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd85fb;
/* rgb */ color: rgb(205, 133, 251);
/* oklch */ color: oklch(73.6% 0.178 310.9);
Tailwind
colors: {
  custom: {
    50: '#deaafd',
    500: '#cd85fb',
    950: '#000000',
  },
}
SCSS
$custom: #cd85fb;
$custom-light: #deaafd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85fb",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 251
  },
  "hsl": {
    "h": 276.61,
    "s": 93.651,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.17811,
    "h": 310.9
  },
  "luminance": 0.36719
}

Semantic roles & 50–950 ramp

primary
#CD85FB
secondary
#E2F6D5
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD85FB

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

Preview Lab → · Contrast checker → · Palette generator →

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