#9754D7#9754D7

#9754D7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.196 H 304.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9754D7
RGBrgb(151, 84, 215)
HSLhsl(271, 62%, 59%)
HSVhsv(271, 61%, 84%)
CMYKcmyk(29.8%, 60.9%, 0%, 15.7%)
CIE-LABlab(49.28, 52.07, -56.90)
CIE-LCHlch(49.28, 77.13, 312.46°)
OKLaboklab(58.52% 0.1111 -0.161)
OKLCHoklch(58.52% 0.196 304.6)
XYZxyz(28.1959, 17.8264, 66.2322)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754D7 #94D754
analogous
#5554D7 #9754D7 #D754D5
triadic
#9754D7 #D79754 #54D797
tetradic
#9754D7 #D75554 #94D754 #54D5D7
square
#9754D7 #D75554 #94D754 #54D5D7
split-complementary
#9754D7 #D5D754 #54D755
monochromatic
#5A218F #792DC1 #9754D7 #B586E3 #D3B7EE

Accessibility & contrast

On white

4.60
#9754D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9754D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9754D7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754D7#FFFFFF#000000##FFFFFF
##9754D71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0473DB
Deuteranopia (green-blind)
#3575D4
Tritanopia (blue-blind)
#8C6F8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9754d7;
/* rgb */ color: rgb(151, 84, 215);
/* oklch */ color: oklch(58.5% 0.196 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba87e4',
    500: '#9754d7',
    950: '#000000',
  },
}
SCSS
$custom: #9754d7;
$custom-light: #ba87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9754d7",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 270.687,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58518,
    "c": 0.19563,
    "h": 304.6
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#9754D7
secondary
#C3DDA9
accent
#E54392
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754D7

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

Preview Lab → · Contrast checker → · Palette generator →

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