#9854DA#9854DA

#9854DA is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.199 H 304.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9854DA
RGBrgb(152, 84, 218)
HSLhsl(270, 64%, 59%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(30.3%, 61.5%, 0%, 14.5%)
CIE-LABlab(49.59, 53.00, -58.11)
CIE-LCHlch(49.59, 78.65, 312.37°)
OKLaboklab(58.83% 0.1123 -0.1645)
OKLCHoklch(58.83% 0.199 304.3)
XYZxyz(28.7713, 18.0781, 68.2898)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854DA #96DA54
analogous
#5554DA #9854DA #DA54D9
triadic
#9854DA #DA9854 #54DA98
tetradic
#9854DA #DA5554 #96DA54 #54D9DA
square
#9854DA #DA5554 #96DA54 #54D9DA
split-complementary
#9854DA #D9DA54 #54DA55
monochromatic
#5B2094 #7A2BC6 #9854DA #B686E5 #D5B9F0

Accessibility & contrast

On white

4.55
#9854DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9854DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854DA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854DA#FFFFFF#000000##000000
##9854DA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3276D7
Tritanopia (blue-blind)
#8C708F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9854da;
/* rgb */ color: rgb(152, 84, 218);
/* oklch */ color: oklch(58.8% 0.199 304.3);
Tailwind
colors: {
  custom: {
    50: '#ba88e6',
    500: '#9854da',
    950: '#000000',
  },
}
SCSS
$custom: #9854da;
$custom-light: #ba88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9854da",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 270.448,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.1992,
    "h": 304.3
  },
  "luminance": 0.18078
}

Semantic roles & 50–950 ramp

primary
#9854DA
secondary
#C5DFAB
accent
#E74093
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9854DA

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

Preview Lab → · Contrast checker → · Palette generator →

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