#9754E8#9754E8

#9754E8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.7% C 0.214 H 300.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9754E8
RGBrgb(151, 84, 232)
HSLhsl(267, 76%, 62%)
HSVhsv(267, 64%, 91%)
CMYKcmyk(34.9%, 63.8%, 0%, 9%)
CIE-LABlab(50.39, 56.14, -64.75)
CIE-LCHlch(50.39, 85.70, 310.92°)
OKLaboklab(59.67% 0.1101 -0.1841)
OKLCHoklch(59.67% 0.214 300.9)
XYZxyz(30.4948, 18.7460, 78.3400)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754E8 #A5E854
analogous
#545BE8 #9754E8 #E154E8
triadic
#9754E8 #E89754 #54E897
tetradic
#9754E8 #E8545B #A5E854 #54E8E1
square
#9754E8 #E8545B #A5E854 #54E8E1
split-complementary
#9754E8 #E8E154 #5BE854
monochromatic
#5A17AB #761EE1 #9754E8 #B88AEF #D9C0F7

Accessibility & contrast

On white

4.42
#9754E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9754E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754E8#FFFFFF#000000##000000
##9754E81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#1277E5
Tritanopia (blue-blind)
#867597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9754e8;
/* rgb */ color: rgb(151, 84, 232);
/* oklch */ color: oklch(59.7% 0.214 300.9);
Tailwind
colors: {
  custom: {
    50: '#bb88f0',
    500: '#9754e8',
    950: '#000000',
  },
}
SCSS
$custom: #9754e8;
$custom-light: #bb88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9754e8",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 267.162,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59669,
    "c": 0.21447,
    "h": 300.9
  },
  "luminance": 0.18746
}

Semantic roles & 50–950 ramp

primary
#9754E8
secondary
#CEE7B1
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9754E8

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

Preview Lab → · Contrast checker → · Palette generator →

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