#9854DC#9854DC

#9854DC is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.201 H 303.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9854DC
RGBrgb(152, 84, 220)
HSLhsl(270, 66%, 60%)
HSVhsv(270, 62%, 86%)
CMYKcmyk(30.9%, 61.8%, 0%, 13.7%)
CIE-LABlab(49.72, 53.47, -59.04)
CIE-LCHlch(49.72, 79.66, 312.17°)
OKLaboklab(58.96% 0.1122 -0.1673)
OKLCHoklch(58.96% 0.201 303.8)
XYZxyz(29.0346, 18.1834, 69.6764)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854DC #98DC54
analogous
#5454DC #9854DC #DC54DC
triadic
#9854DC #DC9854 #54DC98
tetradic
#9854DC #DC5454 #98DC54 #54DCDC
square
#9854DC #DC5454 #98DC54 #54DCDC
split-complementary
#9854DC #DCDC54 #54DC54
monochromatic
#5B1F97 #7929CA #9854DC #B787E6 #D5BAF1

Accessibility & contrast

On white

4.53
#9854DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9854DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9854DC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854DC#FFFFFF#000000##000000
##9854DC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#8B7090
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9854dc;
/* rgb */ color: rgb(152, 84, 220);
/* oklch */ color: oklch(59.0% 0.201 303.8);
Tailwind
colors: {
  custom: {
    50: '#bb88e8',
    500: '#9854dc',
    950: '#000000',
  },
}
SCSS
$custom: #9854dc;
$custom-light: #bb88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9854dc",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58959,
    "c": 0.2014,
    "h": 303.8
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#9854DC
secondary
#C6E0AC
accent
#E93F94
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9854DC

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

Preview Lab → · Contrast checker → · Palette generator →

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