#9754D9#9754D9

#9754D9 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.7% C 0.198 H 304.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9754D9
RGBrgb(151, 84, 217)
HSLhsl(270, 64%, 59%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(30.4%, 61.3%, 0%, 14.9%)
CIE-LABlab(49.41, 52.54, -57.84)
CIE-LCHlch(49.41, 78.14, 312.25°)
OKLaboklab(58.65% 0.111 -0.1638)
OKLCHoklch(58.65% 0.198 304.1)
XYZxyz(28.4544, 17.9298, 67.5939)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754D9 #96D954
analogous
#5554D9 #9754D9 #D954D8
triadic
#9754D9 #D99754 #54D997
tetradic
#9754D9 #D95554 #96D954 #54D8D9
square
#9754D9 #D95554 #96D954 #54D8D9
split-complementary
#9754D9 #D8D954 #54D955
monochromatic
#5A2092 #782CC4 #9754D9 #B586E4 #D4B8EF

Accessibility & contrast

On white

4.58
#9754D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9754D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754D9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754D9#FFFFFF#000000##000000
##9754D91.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DD
Deuteranopia (green-blind)
#3275D6
Tritanopia (blue-blind)
#8B708F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9754d9;
/* rgb */ color: rgb(151, 84, 217);
/* oklch */ color: oklch(58.7% 0.198 304.1);
Tailwind
colors: {
  custom: {
    50: '#ba87e5',
    500: '#9754d9',
    950: '#000000',
  },
}
SCSS
$custom: #9754d9;
$custom-light: #ba87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9754d9",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 270.226,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.19785,
    "h": 304.1
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#9754D9
secondary
#C4DFAA
accent
#E74193
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754D9

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

Preview Lab → · Contrast checker → · Palette generator →

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