#9754E3#9754E3

#9754E3 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.209 H 301.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9754E3
RGBrgb(151, 84, 227)
HSLhsl(268, 72%, 61%)
HSVhsv(268, 63%, 89%)
CMYKcmyk(33.5%, 63%, 0%, 11%)
CIE-LABlab(50.06, 54.93, -62.47)
CIE-LCHlch(50.06, 83.18, 311.33°)
OKLaboklab(59.32% 0.1105 -0.1774)
OKLCHoklch(59.32% 0.209 301.9)
XYZxyz(29.7947, 18.4659, 74.6527)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754E3 #A0E354
analogous
#5458E3 #9754E3 #DE54E3
triadic
#9754E3 #E39754 #54E397
tetradic
#9754E3 #E35458 #A0E354 #54E3DE
square
#9754E3 #E35458 #A0E354 #54E3DE
split-complementary
#9754E3 #E3DE54 #58E354
monochromatic
#5A1BA2 #7723D7 #9754E3 #B789EC #D7BDF4

Accessibility & contrast

On white

4.47
#9754E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9754E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754E3
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754E3#FFFFFF#000000##000000
##9754E31.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#2176E0
Tritanopia (blue-blind)
#887394
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9754e3;
/* rgb */ color: rgb(151, 84, 227);
/* oklch */ color: oklch(59.3% 0.209 301.9);
Tailwind
colors: {
  custom: {
    50: '#ba88ed',
    500: '#9754e3',
    950: '#000000',
  },
}
SCSS
$custom: #9754e3;
$custom-light: #ba88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9754e3",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 268.112,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59323,
    "c": 0.20895,
    "h": 301.9
  },
  "luminance": 0.18466
}

Semantic roles & 50–950 ramp

primary
#9754E3
secondary
#CBE4AE
accent
#D41279
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754E3

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

Preview Lab → · Contrast checker → · Palette generator →

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