#9854D8#9854D8

#9854D8 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.197 H 304.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9854D8
RGBrgb(152, 84, 216)
HSLhsl(271, 63%, 59%)
HSVhsv(271, 61%, 85%)
CMYKcmyk(29.6%, 61.1%, 0%, 15.3%)
CIE-LABlab(49.46, 52.53, -57.17)
CIE-LCHlch(49.46, 77.64, 312.58°)
OKLaboklab(58.7% 0.1124 -0.1618)
OKLCHoklch(58.7% 0.197 304.8)
XYZxyz(28.5112, 17.9741, 66.9198)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854D8 #94D854
analogous
#5654D8 #9854D8 #D854D6
triadic
#9854D8 #D89854 #54D898
tetradic
#9854D8 #D85654 #94D854 #54D6D8
square
#9854D8 #D85654 #94D854 #54D6D8
split-complementary
#9854D8 #D6D854 #54D856
monochromatic
#5A2191 #7A2CC2 #9854D8 #B686E3 #D4B8EF

Accessibility & contrast

On white

4.57
#9854D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9854D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854D8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854D8#FFFFFF#000000##000000
##9854D81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0174DC
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#8D6F8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9854d8;
/* rgb */ color: rgb(152, 84, 216);
/* oklch */ color: oklch(58.7% 0.197 304.8);
Tailwind
colors: {
  custom: {
    50: '#ba87e5',
    500: '#9854d8',
    950: '#000000',
  },
}
SCSS
$custom: #9854d8;
$custom-light: #ba87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9854d8",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 270.909,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58695,
    "c": 0.19698,
    "h": 304.8
  },
  "luminance": 0.17974
}

Semantic roles & 50–950 ramp

primary
#9854D8
secondary
#C3DEAA
accent
#E64291
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9854D8

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

Preview Lab → · Contrast checker → · Palette generator →

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