#9B4CE7#9B4CE7

#9B4CE7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.224 H 303.5°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9B4CE7
RGBrgb(155, 76, 231)
HSLhsl(271, 76%, 60%)
HSVhsv(271, 67%, 91%)
CMYKcmyk(32.9%, 67.1%, 0%, 9.4%)
CIE-LABlab(49.38, 60.57, -65.79)
CIE-LCHlch(49.38, 89.43, 312.64°)
OKLaboklab(59.03% 0.124 -0.187)
OKLCHoklch(59.03% 0.224 303.5)
XYZxyz(30.5225, 17.9070, 77.4342)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B4CE7 #98E74C
analogous
#4E4CE7 #9B4CE7 #E74CE5
triadic
#9B4CE7 #E79B4C #4CE79B
tetradic
#9B4CE7 #E74E4C #98E74C #4CE5E7
square
#9B4CE7 #E74E4C #98E74C #4CE5E7
split-complementary
#9B4CE7 #E5E74C #4CE74E
monochromatic
#5E16A3 #7D1DD9 #9B4CE7 #B982EE #D7B8F5

Accessibility & contrast

On white

4.58
#9B4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9B4CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B4CE7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B4CE7#FFFFFF#000000##000000
##9B4CE71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0175E4
Tritanopia (blue-blind)
#8C6F94
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b4ce7;
/* rgb */ color: rgb(155, 76, 231);
/* oklch */ color: oklch(59.0% 0.224 303.5);
Tailwind
colors: {
  custom: {
    50: '#be83ef',
    500: '#9b4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #9b4ce7;
$custom-light: #be83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9b4ce7",
  "rgb": {
    "r": 155,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 270.581,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59028,
    "c": 0.22434,
    "h": 303.5
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#9B4CE7
secondary
#C7E5AA
accent
#D90D71
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

#9B4CE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva