#9754CA#9754CA

#9754CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.181 H 307.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9754CA
RGBrgb(151, 84, 202)
HSLhsl(274, 53%, 56%)
HSVhsv(274, 58%, 79%)
CMYKcmyk(25.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(48.49, 49.04, -50.73)
CIE-LCHlch(48.49, 70.55, 314.03°)
OKLaboklab(57.69% 0.1113 -0.1429)
OKLCHoklch(57.69% 0.181 307.9)
XYZxyz(26.5913, 17.1846, 57.7818)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754CA #87CA54
analogous
#5C54CA #9754CA #CA54C2
triadic
#9754CA #CA9754 #54CA97
tetradic
#9754CA #CA5C54 #87CA54 #54C2CA
square
#9754CA #CA5C54 #87CA54 #54C2CA
split-complementary
#9754CA #C2CA54 #54CA5C
monochromatic
#58277D #7835AC #9754CA #B383D8 #D0B1E7

Accessibility & contrast

On white

4.73
#9754CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9754CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754CA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754CA#FFFFFF#000000##FFFFFF
##9754CA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#8F6A87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9754ca;
/* rgb */ color: rgb(151, 84, 202);
/* oklch */ color: oklch(57.7% 0.181 307.9);
Tailwind
colors: {
  custom: {
    50: '#b987db',
    500: '#9754ca',
    950: '#000000',
  },
}
SCSS
$custom: #9754ca;
$custom-light: #b987db;
$custom-dark: #000000;
JSON
{
  "hex": "#9754ca",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 274.068,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.18113,
    "h": 307.9
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#9754CA
secondary
#BAD5A5
accent
#DC4C8A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754CA

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

Preview Lab → · Contrast checker → · Palette generator →

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