#9854CA#9854CA

#9854CA is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.181 H 308.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9854CA
RGBrgb(152, 84, 202)
HSLhsl(275, 53%, 56%)
HSVhsv(275, 58%, 79%)
CMYKcmyk(24.8%, 58.4%, 0%, 20.8%)
CIE-LABlab(48.61, 49.28, -50.53)
CIE-LCHlch(48.61, 70.58, 314.28°)
OKLaboklab(57.8% 0.1126 -0.1423)
OKLCHoklch(57.8% 0.181 308.3)
XYZxyz(26.7778, 17.2807, 57.7905)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854CA #86CA54
analogous
#5D54CA #9854CA #CA54C1
triadic
#9854CA #CA9854 #54CA98
tetradic
#9854CA #CA5D54 #86CA54 #54C1CA
square
#9854CA #CA5D54 #86CA54 #54C1CA
split-complementary
#9854CA #C1CA54 #54CA5D
monochromatic
#58277D #7935AC #9854CA #B483D8 #D0B1E7

Accessibility & contrast

On white

4.71
#9854CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9854CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9854CA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854CA#FFFFFF#000000##FFFFFF
##9854CA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2771CE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#916A87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9854ca;
/* rgb */ color: rgb(152, 84, 202);
/* oklch */ color: oklch(57.8% 0.181 308.3);
Tailwind
colors: {
  custom: {
    50: '#b987db',
    500: '#9854ca',
    950: '#000000',
  },
}
SCSS
$custom: #9854ca;
$custom-light: #b987db;
$custom-dark: #000000;
JSON
{
  "hex": "#9854ca",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 274.576,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.578,
    "c": 0.18144,
    "h": 308.3
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#9854CA
secondary
#B9D5A5
accent
#DC4C89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9854CA

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

Preview Lab → · Contrast checker → · Palette generator →

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