#9754C8#9754C8

#9754C8 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.179 H 308.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9754C8
RGBrgb(151, 84, 200)
HSLhsl(275, 51%, 56%)
HSVhsv(275, 58%, 78%)
CMYKcmyk(24.5%, 58%, 0%, 21.6%)
CIE-LABlab(48.37, 48.58, -49.77)
CIE-LCHlch(48.37, 69.54, 314.31°)
OKLaboklab(57.56% 0.1113 -0.1401)
OKLCHoklch(57.56% 0.179 308.5)
XYZxyz(26.3561, 17.0905, 56.5427)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754C8 #85C854
analogous
#5D54C8 #9754C8 #C854BF
triadic
#9754C8 #C89754 #54C897
tetradic
#9754C8 #C85D54 #85C854 #54BFC8
square
#9754C8 #C85D54 #85C854 #54BFC8
split-complementary
#9754C8 #BFC854 #54C85D
monochromatic
#57277A #7836A9 #9754C8 #B382D7 #CFB1E6

Accessibility & contrast

On white

4.75
#9754C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9754C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754C8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754C8#FFFFFF#000000##FFFFFF
##9754C81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2970CC
Deuteranopia (green-blind)
#4474C5
Tritanopia (blue-blind)
#906A86
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9754c8;
/* rgb */ color: rgb(151, 84, 200);
/* oklch */ color: oklch(57.6% 0.179 308.5);
Tailwind
colors: {
  custom: {
    50: '#b987d9',
    500: '#9754c8',
    950: '#000000',
  },
}
SCSS
$custom: #9754c8;
$custom-light: #b987d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9754c8",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 274.655,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.1789,
    "h": 308.5
  },
  "luminance": 0.1709
}

Semantic roles & 50–950 ramp

primary
#9754C8
secondary
#B8D4A4
accent
#DB4D89
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754C8

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

Preview Lab → · Contrast checker → · Palette generator →

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