#9854BF#9854BF

#9854BF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.169 H 311.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9854BF
RGBrgb(152, 84, 191)
HSLhsl(278, 46%, 54%)
HSVhsv(278, 56%, 75%)
CMYKcmyk(20.4%, 56%, 0%, 25.1%)
CIE-LABlab(47.98, 46.80, -45.19)
CIE-LCHlch(47.98, 65.06, 316.00°)
OKLaboklab(57.13% 0.1122 -0.1267)
OKLCHoklch(57.13% 0.169 311.5)
XYZxyz(25.5215, 16.7782, 51.1742)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9854BF #7BBF54
analogous
#6354BF #9854BF #BF54B1
triadic
#9854BF #BF9854 #54BF98
tetradic
#9854BF #BF6354 #7BBF54 #54B1BF
square
#9854BF #BF6354 #7BBF54 #54B1BF
split-complementary
#9854BF #B1BF54 #54BF63
monochromatic
#562A6F #783A9C #9854BF #B381D0 #CEADE0

Accessibility & contrast

On white

4.82
#9854BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9854BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9854BF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9854BF#FFFFFF#000000##FFFFFF
##9854BF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346EC3
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#946781
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9854bf;
/* rgb */ color: rgb(152, 84, 191);
/* oklch */ color: oklch(57.1% 0.169 311.5);
Tailwind
colors: {
  custom: {
    50: '#b987d3',
    500: '#9854bf',
    950: '#000000',
  },
}
SCSS
$custom: #9854bf;
$custom-light: #b987d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9854bf",
  "rgb": {
    "r": 152,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 278.131,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.16924,
    "h": 311.5
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#9854BF
secondary
#B1CEA1
accent
#D55382
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9854BF

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

Preview Lab → · Contrast checker → · Palette generator →

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