#9754D4#9754D4

#9754D4 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.192 H 305.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9754D4
RGBrgb(151, 84, 212)
HSLhsl(271, 60%, 58%)
HSVhsv(271, 60%, 83%)
CMYKcmyk(28.8%, 60.4%, 0%, 16.9%)
CIE-LABlab(49.10, 51.36, -55.49)
CIE-LCHlch(49.10, 75.61, 312.79°)
OKLaboklab(58.32% 0.1112 -0.1569)
OKLCHoklch(58.32% 0.192 305.3)
XYZxyz(27.8139, 17.6736, 64.2207)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754D4 #91D454
analogous
#5754D4 #9754D4 #D454D1
triadic
#9754D4 #D49754 #54D497
tetradic
#9754D4 #D45754 #91D454 #54D1D4
square
#9754D4 #D45754 #91D454 #54D1D4
split-complementary
#9754D4 #D1D454 #54D457
monochromatic
#59238B #792FBC #9754D4 #B585E0 #D2B6ED

Accessibility & contrast

On white

4.63
#9754D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9754D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9754D4
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754D4#FFFFFF#000000##FFFFFF
##9754D41.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1173D8
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#8C6E8C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9754d4;
/* rgb */ color: rgb(151, 84, 212);
/* oklch */ color: oklch(58.3% 0.192 305.3);
Tailwind
colors: {
  custom: {
    50: '#b987e2',
    500: '#9754d4',
    950: '#000000',
  },
}
SCSS
$custom: #9754d4;
$custom-light: #b987e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9754d4",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 271.406,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58322,
    "c": 0.19229,
    "h": 305.3
  },
  "luminance": 0.17673
}

Semantic roles & 50–950 ramp

primary
#9754D4
secondary
#C1DBA8
accent
#E34590
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754D4

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

Preview Lab → · Contrast checker → · Palette generator →

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