#9754CC#9754CC

#9754CC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.183 H 307.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9754CC
RGBrgb(151, 84, 204)
HSLhsl(274, 54%, 56%)
HSVhsv(274, 59%, 80%)
CMYKcmyk(26%, 58.8%, 0%, 20%)
CIE-LABlab(48.61, 49.50, -51.69)
CIE-LCHlch(48.61, 71.57, 313.76°)
OKLaboklab(57.81% 0.1113 -0.1457)
OKLCHoklch(57.81% 0.183 307.4)
XYZxyz(26.8297, 17.2799, 59.0370)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754CC #89CC54
analogous
#5B54CC #9754CC #CC54C5
triadic
#9754CC #CC9754 #54CC97
tetradic
#9754CC #CC5B54 #89CC54 #54C5CC
square
#9754CC #CC5B54 #89CC54 #54C5CC
split-complementary
#9754CC #C5CC54 #54CC5B
monochromatic
#582680 #7934AF #9754CC #B483DA #D0B2E8

Accessibility & contrast

On white

4.71
#9754CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9754CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754CC#FFFFFF#000000##FFFFFF
##9754CC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2371D0
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#8F6B88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9754cc;
/* rgb */ color: rgb(151, 84, 204);
/* oklch */ color: oklch(57.8% 0.183 307.4);
Tailwind
colors: {
  custom: {
    50: '#b987dc',
    500: '#9754cc',
    950: '#000000',
  },
}
SCSS
$custom: #9754cc;
$custom-light: #b987dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9754cc",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 273.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57811,
    "c": 0.18336,
    "h": 307.4
  },
  "luminance": 0.1728
}

Semantic roles & 50–950 ramp

primary
#9754CC
secondary
#BBD7A5
accent
#DD4A8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754CC

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

Preview Lab → · Contrast checker → · Palette generator →

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