#9754D8#9754D8

#9754D8 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.197 H 304.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9754D8
RGBrgb(151, 84, 216)
HSLhsl(270, 63%, 59%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(30.1%, 61.1%, 0%, 15.3%)
CIE-LABlab(49.35, 52.30, -57.37)
CIE-LCHlch(49.35, 77.63, 312.36°)
OKLaboklab(58.58% 0.1111 -0.1624)
OKLCHoklch(58.58% 0.197 304.4)
XYZxyz(28.3247, 17.8779, 66.9110)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754D8 #95D854
analogous
#5554D8 #9754D8 #D854D7
triadic
#9754D8 #D89754 #54D897
tetradic
#9754D8 #D85554 #95D854 #54D7D8
square
#9754D8 #D85554 #95D854 #54D7D8
split-complementary
#9754D8 #D7D854 #54D855
monochromatic
#5A2191 #792CC2 #9754D8 #B586E3 #D4B8EF

Accessibility & contrast

On white

4.59
#9754D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9754D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9754D8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754D8#FFFFFF#000000##FFFFFF
##9754D81.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DC
Deuteranopia (green-blind)
#3375D5
Tritanopia (blue-blind)
#8B6F8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9754d8;
/* rgb */ color: rgb(151, 84, 216);
/* oklch */ color: oklch(58.6% 0.197 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba87e5',
    500: '#9754d8',
    950: '#000000',
  },
}
SCSS
$custom: #9754d8;
$custom-light: #ba87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9754d8",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 270.455,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.19674,
    "h": 304.4
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#9754D8
secondary
#C4DEAA
accent
#E64293
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754D8

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

Preview Lab → · Contrast checker → · Palette generator →

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