#9754CB#9754CB

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

Color values

HEX#9754CB
RGBrgb(151, 84, 203)
HSLhsl(274, 53%, 56%)
HSVhsv(274, 59%, 80%)
CMYKcmyk(25.6%, 58.6%, 0%, 20.4%)
CIE-LABlab(48.55, 49.27, -51.21)
CIE-LCHlch(48.55, 71.06, 313.89°)
OKLaboklab(57.75% 0.1113 -0.1443)
OKLCHoklch(57.75% 0.182 307.6)
XYZxyz(26.7101, 17.2321, 58.4074)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754CB #88CB54
analogous
#5C54CB #9754CB #CB54C3
triadic
#9754CB #CB9754 #54CB97
tetradic
#9754CB #CB5C54 #88CB54 #54C3CB
square
#9754CB #CB5C54 #88CB54 #54C3CB
split-complementary
#9754CB #C3CB54 #54CB5C
monochromatic
#58267E #7835AD #9754CB #B483D9 #D0B2E8

Accessibility & contrast

On white

4.72
#9754CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9754CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754CB#FFFFFF#000000##FFFFFF
##9754CB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#8F6B88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9754cb;
/* rgb */ color: rgb(151, 84, 203);
/* oklch */ color: oklch(57.7% 0.182 307.6);
Tailwind
colors: {
  custom: {
    50: '#b987db',
    500: '#9754cb',
    950: '#000000',
  },
}
SCSS
$custom: #9754cb;
$custom-light: #b987db;
$custom-dark: #000000;
JSON
{
  "hex": "#9754cb",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 273.782,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.18225,
    "h": 307.6
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#9754CB
secondary
#BAD6A5
accent
#DD4B8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754CB

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

Preview Lab → · Contrast checker → · Palette generator →

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