#9754E4#9754E4

#9754E4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.4% C 0.210 H 301.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9754E4
RGBrgb(151, 84, 228)
HSLhsl(268, 73%, 61%)
HSVhsv(268, 63%, 89%)
CMYKcmyk(33.8%, 63.2%, 0%, 10.6%)
CIE-LABlab(50.12, 55.17, -62.92)
CIE-LCHlch(50.12, 83.68, 311.24°)
OKLaboklab(59.39% 0.1104 -0.1787)
OKLCHoklch(59.39% 0.21 301.7)
XYZxyz(29.9331, 18.5213, 75.3817)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754E4 #A1E454
analogous
#5459E4 #9754E4 #DF54E4
triadic
#9754E4 #E49754 #54E497
tetradic
#9754E4 #E45459 #A1E454 #54E4DF
square
#9754E4 #E45459 #A1E454 #54E4DF
split-complementary
#9754E4 #E4DF54 #59E454
monochromatic
#5A1AA4 #7722D9 #9754E4 #B789EC #D7BEF5

Accessibility & contrast

On white

4.46
#9754E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9754E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754E4
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754E4#FFFFFF#000000##000000
##9754E41.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#1E77E1
Tritanopia (blue-blind)
#877395
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9754e4;
/* rgb */ color: rgb(151, 84, 228);
/* oklch */ color: oklch(59.4% 0.210 301.7);
Tailwind
colors: {
  custom: {
    50: '#ba88ed',
    500: '#9754e4',
    950: '#000000',
  },
}
SCSS
$custom: #9754e4;
$custom-light: #ba88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9754e4",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 267.917,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59392,
    "c": 0.21006,
    "h": 301.7
  },
  "luminance": 0.18521
}

Semantic roles & 50–950 ramp

primary
#9754E4
secondary
#CCE5AF
accent
#D5117A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9754E4

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

Preview Lab → · Contrast checker → · Palette generator →

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