#9754CE#9754CE

#9754CE is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.9% C 0.186 H 306.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9754CE
RGBrgb(151, 84, 206)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 59%, 81%)
CMYKcmyk(26.7%, 59.2%, 0%, 19.2%)
CIE-LABlab(48.73, 49.96, -52.64)
CIE-LCHlch(48.73, 72.58, 313.50°)
OKLaboklab(57.94% 0.1113 -0.1485)
OKLCHoklch(57.94% 0.186 306.8)
XYZxyz(27.0711, 17.3765, 60.3084)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754CE #8BCE54
analogous
#5A54CE #9754CE #CE54C8
triadic
#9754CE #CE9754 #54CE97
tetradic
#9754CE #CE5A54 #8BCE54 #54C8CE
square
#9754CE #CE5A54 #8BCE54 #54C8CE
split-complementary
#9754CE #C8CE54 #54CE5A
monochromatic
#582582 #7933B2 #9754CE #B484DC #D1B3E9

Accessibility & contrast

On white

4.69
#9754CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9754CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754CE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754CE#FFFFFF#000000##FFFFFF
##9754CE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#8E6C89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9754ce;
/* rgb */ color: rgb(151, 84, 206);
/* oklch */ color: oklch(57.9% 0.186 306.8);
Tailwind
colors: {
  custom: {
    50: '#b987de',
    500: '#9754ce',
    950: '#000000',
  },
}
SCSS
$custom: #9754ce;
$custom-light: #b987de;
$custom-dark: #000000;
JSON
{
  "hex": "#9754ce",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 272.951,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.18559,
    "h": 306.8
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#9754CE
secondary
#BCD8A6
accent
#DF498D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9754CE

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

Preview Lab → · Contrast checker → · Palette generator →

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