#9854CF#9854CF

#9854CF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.1% C 0.187 H 307.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9854CF
RGBrgb(152, 84, 207)
HSLhsl(273, 56%, 57%)
HSVhsv(273, 59%, 81%)
CMYKcmyk(26.6%, 59.4%, 0%, 18.8%)
CIE-LABlab(48.91, 50.43, -52.92)
CIE-LCHlch(48.91, 73.10, 313.62°)
OKLaboklab(58.11% 0.1126 -0.1493)
OKLCHoklch(58.11% 0.187 307)
XYZxyz(27.3794, 17.5213, 60.9590)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854CF #8BCF54
analogous
#5B54CF #9854CF #CF54C8
triadic
#9854CF #CF9854 #54CF98
tetradic
#9854CF #CF5B54 #8BCF54 #54C8CF
square
#9854CF #CF5B54 #8BCF54 #54C8CF
split-complementary
#9854CF #C8CF54 #54CF5B
monochromatic
#592584 #7A32B3 #9854CF #B584DC #D2B4EA

Accessibility & contrast

On white

4.66
#9854CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9854CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9854CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854CF#FFFFFF#000000##FFFFFF
##9854CF1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#3F75CC
Tritanopia (blue-blind)
#8F6C8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9854cf;
/* rgb */ color: rgb(152, 84, 207);
/* oklch */ color: oklch(58.1% 0.187 307.0);
Tailwind
colors: {
  custom: {
    50: '#ba87de',
    500: '#9854cf',
    950: '#000000',
  },
}
SCSS
$custom: #9854cf;
$custom-light: #ba87de;
$custom-dark: #000000;
JSON
{
  "hex": "#9854cf",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 273.171,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58114,
    "c": 0.18699,
    "h": 307
  },
  "luminance": 0.17521
}

Semantic roles & 50–950 ramp

primary
#9854CF
secondary
#BDD8A6
accent
#DF488C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9854CF

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

Preview Lab → · Contrast checker → · Palette generator →

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