#9754E7#9754E7

#9754E7 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.213 H 301.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9754E7
RGBrgb(151, 84, 231)
HSLhsl(267, 75%, 62%)
HSVhsv(267, 64%, 91%)
CMYKcmyk(34.6%, 63.6%, 0%, 9.4%)
CIE-LABlab(50.32, 55.89, -64.30)
CIE-LCHlch(50.32, 85.19, 311.00°)
OKLaboklab(59.6% 0.1102 -0.1827)
OKLCHoklch(59.6% 0.213 301.1)
XYZxyz(30.3532, 18.6893, 77.5941)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754E7 #A4E754
analogous
#545BE7 #9754E7 #E154E7
triadic
#9754E7 #E79754 #54E797
tetradic
#9754E7 #E7545B #A4E754 #54E7E1
square
#9754E7 #E7545B #A4E754 #54E7E1
split-complementary
#9754E7 #E7E154 #5BE754
monochromatic
#5A18A9 #761FDF #9754E7 #B88AEF #D8BFF6

Accessibility & contrast

On white

4.43
#9754E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9754E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754E7
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754E7#FFFFFF#000000##000000
##9754E71.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#1677E4
Tritanopia (blue-blind)
#867496
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9754e7;
/* rgb */ color: rgb(151, 84, 231);
/* oklch */ color: oklch(59.6% 0.213 301.1);
Tailwind
colors: {
  custom: {
    50: '#bb88ef',
    500: '#9754e7',
    950: '#000000',
  },
}
SCSS
$custom: #9754e7;
$custom-light: #bb88ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9754e7",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 267.347,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59599,
    "c": 0.21338,
    "h": 301.1
  },
  "luminance": 0.18689
}

Semantic roles & 50–950 ramp

primary
#9754E7
secondary
#CEE7B0
accent
#D80E7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9754E7

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

Preview Lab → · Contrast checker → · Palette generator →

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