#9854CC#9854CC

#9854CC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.184 H 307.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9854CC
RGBrgb(152, 84, 204)
HSLhsl(274, 54%, 56%)
HSVhsv(274, 59%, 80%)
CMYKcmyk(25.5%, 58.8%, 0%, 20%)
CIE-LABlab(48.73, 49.74, -51.49)
CIE-LCHlch(48.73, 71.59, 314.01°)
OKLaboklab(57.93% 0.1126 -0.1451)
OKLCHoklch(57.93% 0.184 307.8)
XYZxyz(27.0161, 17.3760, 59.0457)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854CC #88CC54
analogous
#5C54CC #9854CC #CC54C4
triadic
#9854CC #CC9854 #54CC98
tetradic
#9854CC #CC5C54 #88CC54 #54C4CC
square
#9854CC #CC5C54 #88CC54 #54C4CC
split-complementary
#9854CC #C4CC54 #54CC5C
monochromatic
#592680 #7A34AF #9854CC #B483DA #D1B2E8

Accessibility & contrast

On white

4.69
#9854CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9854CC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854CC#FFFFFF#000000##FFFFFF
##9854CC1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471D0
Deuteranopia (green-blind)
#4274C9
Tritanopia (blue-blind)
#906B88
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9854cc;
/* rgb */ color: rgb(152, 84, 204);
/* oklch */ color: oklch(57.9% 0.184 307.8);
Tailwind
colors: {
  custom: {
    50: '#ba87dc',
    500: '#9854cc',
    950: '#000000',
  },
}
SCSS
$custom: #9854cc;
$custom-light: #ba87dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9854cc",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 274,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.18366,
    "h": 307.8
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#9854CC
secondary
#BBD7A5
accent
#DD4A8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9854CC

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

Preview Lab → · Contrast checker → · Palette generator →

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