#9854CE#9854CE

#9854CE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.186 H 307.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9854CE
RGBrgb(152, 84, 206)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 59%, 81%)
CMYKcmyk(26.2%, 59.2%, 0%, 19.2%)
CIE-LABlab(48.85, 50.20, -52.45)
CIE-LCHlch(48.85, 72.60, 313.75°)
OKLaboklab(58.05% 0.1126 -0.1479)
OKLCHoklch(58.05% 0.186 307.3)
XYZxyz(27.2575, 17.4726, 60.3172)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854CE #8ACE54
analogous
#5B54CE #9854CE #CE54C7
triadic
#9854CE #CE9854 #54CE98
tetradic
#9854CE #CE5B54 #8ACE54 #54C7CE
square
#9854CE #CE5B54 #8ACE54 #54C7CE
split-complementary
#9854CE #C7CE54 #54CE5B
monochromatic
#592582 #7A33B2 #9854CE #B584DC #D1B3E9

Accessibility & contrast

On white

4.67
#9854CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9854CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9854CE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854CE#FFFFFF#000000##FFFFFF
##9854CE1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2072D2
Deuteranopia (green-blind)
#4075CB
Tritanopia (blue-blind)
#906C89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9854ce;
/* rgb */ color: rgb(152, 84, 206);
/* oklch */ color: oklch(58.1% 0.186 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba87de',
    500: '#9854ce',
    950: '#000000',
  },
}
SCSS
$custom: #9854ce;
$custom-light: #ba87de;
$custom-dark: #000000;
JSON
{
  "hex": "#9854ce",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 273.443,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.18588,
    "h": 307.3
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#9854CE
secondary
#BCD8A6
accent
#DF498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9854CE

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

Preview Lab → · Contrast checker → · Palette generator →

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