#9754BF#9754BF

#9754BF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.169 H 311.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9754BF
RGBrgb(151, 84, 191)
HSLhsl(278, 46%, 54%)
HSVhsv(278, 56%, 75%)
CMYKcmyk(20.9%, 56%, 0%, 25.1%)
CIE-LABlab(47.86, 46.54, -45.39)
CIE-LCHlch(47.86, 65.01, 315.71°)
OKLaboklab(57.02% 0.111 -0.1273)
OKLCHoklch(57.02% 0.169 311.1)
XYZxyz(25.3351, 16.6821, 51.1655)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754BF #7CBF54
analogous
#6254BF #9754BF #BF54B2
triadic
#9754BF #BF9754 #54BF97
tetradic
#9754BF #BF6254 #7CBF54 #54B2BF
square
#9754BF #BF6254 #7CBF54 #54B2BF
split-complementary
#9754BF #B2BF54 #54BF62
monochromatic
#552A6F #773A9C #9754BF #B281D0 #CDADE0

Accessibility & contrast

On white

4.84
#9754BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9754BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754BF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754BF#FFFFFF#000000##FFFFFF
##9754BF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336EC3
Deuteranopia (green-blind)
#4B73BC
Tritanopia (blue-blind)
#926781
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9754bf;
/* rgb */ color: rgb(151, 84, 191);
/* oklch */ color: oklch(57.0% 0.169 311.1);
Tailwind
colors: {
  custom: {
    50: '#b887d3',
    500: '#9754bf',
    950: '#000000',
  },
}
SCSS
$custom: #9754bf;
$custom-light: #b887d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9754bf",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 277.57,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.16887,
    "h": 311.1
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#9754BF
secondary
#B2CEA1
accent
#D55383
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9754BF

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

Preview Lab → · Contrast checker → · Palette generator →

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