#9854CD#9854CD

#9854CD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.185 H 307.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9854CD
RGBrgb(152, 84, 205)
HSLhsl(274, 55%, 57%)
HSVhsv(274, 59%, 80%)
CMYKcmyk(25.9%, 59%, 0%, 19.6%)
CIE-LABlab(48.79, 49.97, -51.97)
CIE-LCHlch(48.79, 72.09, 313.88°)
OKLaboklab(57.99% 0.1126 -0.1465)
OKLCHoklch(57.99% 0.185 307.5)
XYZxyz(27.1364, 17.4242, 59.6794)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854CD #89CD54
analogous
#5C54CD #9854CD #CD54C6
triadic
#9854CD #CD9854 #54CD98
tetradic
#9854CD #CD5C54 #89CD54 #54C6CD
square
#9854CD #CD5C54 #89CD54 #54C6CD
split-complementary
#9854CD #C6CD54 #54CD5C
monochromatic
#592681 #7A34B0 #9854CD #B583DB #D1B3E9

Accessibility & contrast

On white

4.68
#9854CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9854CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9854CD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854CD#FFFFFF#000000##FFFFFF
##9854CD1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D1
Deuteranopia (green-blind)
#4175CA
Tritanopia (blue-blind)
#906B89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9854cd;
/* rgb */ color: rgb(152, 84, 205);
/* oklch */ color: oklch(58.0% 0.185 307.5);
Tailwind
colors: {
  custom: {
    50: '#ba87dd',
    500: '#9854cd',
    950: '#000000',
  },
}
SCSS
$custom: #9854cd;
$custom-light: #ba87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9854cd",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 273.719,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.18476,
    "h": 307.5
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#9854CD
secondary
#BBD7A6
accent
#DE4A8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9854CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9854CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva