#9754B2#9754B2

#9754B2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.3% C 0.155 H 315.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9754B2
RGBrgb(151, 84, 178)
HSLhsl(283, 38%, 51%)
HSVhsv(283, 53%, 70%)
CMYKcmyk(15.2%, 52.8%, 0%, 30.2%)
CIE-LABlab(47.15, 43.68, -38.94)
CIE-LCHlch(47.15, 58.52, 318.29°)
OKLaboklab(56.27% 0.11 -0.1085)
OKLCHoklch(56.27% 0.155 315.4)
XYZxyz(23.9675, 16.1350, 43.9627)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754B2 #6FB254
analogous
#6854B2 #9754B2 #B2549E
triadic
#9754B2 #B29754 #54B297
tetradic
#9754B2 #B26854 #6FB254 #549EB2
square
#9754B2 #B26854 #6FB254 #549EB2
split-complementary
#9754B2 #9EB254 #54B268
monochromatic
#512B60 #753E8A #9754B2 #B17EC5 #CAA8D8

Accessibility & contrast

On white

4.97
#9754B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9754B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754B2#FFFFFF#000000##FFFFFF
##9754B21.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#95637B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9754b2;
/* rgb */ color: rgb(151, 84, 178);
/* oklch */ color: oklch(56.3% 0.155 315.4);
Tailwind
colors: {
  custom: {
    50: '#b887c9',
    500: '#9754b2',
    950: '#000000',
  },
}
SCSS
$custom: #9754b2;
$custom-light: #b887c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9754b2",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 282.766,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56268,
    "c": 0.15453,
    "h": 315.4
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#9754B2
secondary
#A8C69C
accent
#CE5A7B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9754B2

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

Preview Lab → · Contrast checker → · Palette generator →

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