#CD85FA#CD85FA

#CD85FA is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.5% C 0.177 H 311.1°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CD85FA
RGBrgb(205, 133, 250)
HSLhsl(277, 92%, 75%)
HSVhsv(277, 47%, 98%)
CMYKcmyk(18%, 46.8%, 0%, 2%)
CIE-LABlab(67.02, 47.97, -47.85)
CIE-LCHlch(67.02, 67.76, 315.07°)
OKLaboklab(73.55% 0.1164 -0.1333)
OKLCHoklch(73.55% 0.177 311.1)
XYZxyz(50.8166, 36.6573, 94.8225)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD85FA #B2FA85
analogous
#9285FA #CD85FA #FA85ED
triadic
#CD85FA #FACD85 #85FACD
tetradic
#CD85FA #FA9285 #B2FA85 #85EDFA
square
#CD85FA #FA9285 #B2FA85 #85EDFA
split-complementary
#CD85FA #EDFA85 #85FA92
monochromatic
#9D0FF5 #B54AF8 #CD85FA #E5C0FC #F3E2FE

Accessibility & contrast

On white

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

On black

8.33
#CD85FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD85FA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD85FA#FFFFFF#000000##000000
##CD85FA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#C897B4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd85fa;
/* rgb */ color: rgb(205, 133, 250);
/* oklch */ color: oklch(73.5% 0.177 311.1);
Tailwind
colors: {
  custom: {
    50: '#deaafc',
    500: '#cd85fa',
    950: '#000000',
  },
}
SCSS
$custom: #cd85fa;
$custom-light: #deaafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd85fa",
  "rgb": {
    "r": 205,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 276.923,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73545,
    "c": 0.17699,
    "h": 311.1
  },
  "luminance": 0.36656
}

Semantic roles & 50–950 ramp

primary
#CD85FA
secondary
#E2F6D5
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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