#9754DA#9754DA

#9754DA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.199 H 303.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9754DA
RGBrgb(151, 84, 218)
HSLhsl(270, 64%, 59%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(30.7%, 61.5%, 0%, 14.5%)
CIE-LABlab(49.47, 52.78, -58.30)
CIE-LCHlch(49.47, 78.64, 312.15°)
OKLaboklab(58.72% 0.111 -0.1651)
OKLCHoklch(58.72% 0.199 303.9)
XYZxyz(28.5849, 17.9820, 68.2810)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754DA #97DA54
analogous
#5454DA #9754DA #DA54DA
triadic
#9754DA #DA9754 #54DA97
tetradic
#9754DA #DA5454 #97DA54 #54DADA
square
#9754DA #DA5454 #97DA54 #54DADA
split-complementary
#9754DA #DADA54 #54DA54
monochromatic
#5A2094 #782BC6 #9754DA #B686E5 #D4B9F0

Accessibility & contrast

On white

4.57
#9754DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9754DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754DA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754DA#FFFFFF#000000##000000
##9754DA1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#8B708F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9754da;
/* rgb */ color: rgb(151, 84, 218);
/* oklch */ color: oklch(58.7% 0.199 303.9);
Tailwind
colors: {
  custom: {
    50: '#ba87e6',
    500: '#9754da',
    950: '#000000',
  },
}
SCSS
$custom: #9754da;
$custom-light: #ba87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9754da",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 270,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.19897,
    "h": 303.9
  },
  "luminance": 0.17982
}

Semantic roles & 50–950 ramp

primary
#9754DA
secondary
#C5DFAB
accent
#E74094
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754DA

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

Preview Lab → · Contrast checker → · Palette generator →

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