#9754E6#9754E6

#9754E6 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.212 H 301.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9754E6
RGBrgb(151, 84, 230)
HSLhsl(268, 74%, 62%)
HSVhsv(268, 63%, 90%)
CMYKcmyk(34.3%, 63.5%, 0%, 9.8%)
CIE-LABlab(50.26, 55.65, -63.84)
CIE-LCHlch(50.26, 84.69, 311.08°)
OKLaboklab(59.53% 0.1102 -0.1814)
OKLCHoklch(59.53% 0.212 301.3)
XYZxyz(30.2123, 18.6330, 76.8524)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754E6 #A3E654
analogous
#545AE6 #9754E6 #E054E6
triadic
#9754E6 #E69754 #54E697
tetradic
#9754E6 #E6545A #A3E654 #54E6E0
square
#9754E6 #E6545A #A3E654 #54E6E0
split-complementary
#9754E6 #E6E054 #5AE654
monochromatic
#5A18A7 #7720DD #9754E6 #B789EE #D8BFF6

Accessibility & contrast

On white

4.44
#9754E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9754E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754E6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754E6#FFFFFF#000000##000000
##9754E61.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EB
Deuteranopia (green-blind)
#1977E3
Tritanopia (blue-blind)
#867496
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9754e6;
/* rgb */ color: rgb(151, 84, 230);
/* oklch */ color: oklch(59.5% 0.212 301.3);
Tailwind
colors: {
  custom: {
    50: '#bb88ef',
    500: '#9754e6',
    950: '#000000',
  },
}
SCSS
$custom: #9754e6;
$custom-light: #bb88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9754e6",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 267.534,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5953,
    "c": 0.21227,
    "h": 301.3
  },
  "luminance": 0.18633
}

Semantic roles & 50–950 ramp

primary
#9754E6
secondary
#CDE6B0
accent
#D70F7B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754E6

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

Preview Lab → · Contrast checker → · Palette generator →

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