#9754EC#9754EC

#9754EC is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.219 H 300.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9754EC
RGBrgb(151, 84, 236)
HSLhsl(266, 80%, 63%)
HSVhsv(266, 64%, 93%)
CMYKcmyk(36%, 64.4%, 0%, 7.5%)
CIE-LABlab(50.66, 57.11, -66.56)
CIE-LCHlch(50.66, 87.70, 310.63°)
OKLaboklab(59.95% 0.1097 -0.1894)
OKLCHoklch(59.95% 0.219 300.1)
XYZxyz(31.0694, 18.9758, 81.3664)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754EC #A9EC54
analogous
#545DEC #9754EC #E354EC
triadic
#9754EC #EC9754 #54EC97
tetradic
#9754EC #EC545D #A9EC54 #54ECE3
square
#9754EC #EC545D #A9EC54 #54ECE3
split-complementary
#9754EC #ECE354 #5DEC54
monochromatic
#5914B2 #751DE6 #9754EC #B88BF2 #DAC2F8

Accessibility & contrast

On white

4.38
#9754EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9754EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9754EC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754EC#FFFFFF#000000##000000
##9754EC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#847699
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9754ec;
/* rgb */ color: rgb(151, 84, 236);
/* oklch */ color: oklch(59.9% 0.219 300.1);
Tailwind
colors: {
  custom: {
    50: '#bb88f3',
    500: '#9754ec',
    950: '#000000',
  },
}
SCSS
$custom: #9754ec;
$custom-light: #bb88f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9754ec",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 266.447,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59949,
    "c": 0.21888,
    "h": 300.1
  },
  "luminance": 0.18976
}

Semantic roles & 50–950 ramp

primary
#9754EC
secondary
#D1E9B2
accent
#DC097F
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9754EC

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

Preview Lab → · Contrast checker → · Palette generator →

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