#9D4CE7#9D4CE7

#9D4CE7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.225 H 304.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9D4CE7
RGBrgb(157, 76, 231)
HSLhsl(271, 76%, 60%)
HSVhsv(271, 67%, 91%)
CMYKcmyk(32%, 67.1%, 0%, 9.4%)
CIE-LABlab(49.63, 60.97, -65.39)
CIE-LCHlch(49.63, 89.40, 313.00°)
OKLaboklab(59.25% 0.1266 -0.1857)
OKLCHoklch(59.25% 0.225 304.3)
XYZxyz(30.9096, 18.1066, 77.4524)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4CE7 #96E74C
analogous
#4F4CE7 #9D4CE7 #E74CE3
triadic
#9D4CE7 #E79D4C #4CE79D
tetradic
#9D4CE7 #E74F4C #96E74C #4CE3E7
square
#9D4CE7 #E74F4C #96E74C #4CE3E7
split-complementary
#9D4CE7 #E3E74C #4CE74F
monochromatic
#5F16A3 #7F1DD9 #9D4CE7 #BB82EE #D8B8F5

Accessibility & contrast

On white

4.54
#9D4CE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9D4CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4CE7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4CE7#FFFFFF#000000##000000
##9D4CE71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0D76E4
Tritanopia (blue-blind)
#8F6F94
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4ce7;
/* rgb */ color: rgb(157, 76, 231);
/* oklch */ color: oklch(59.3% 0.225 304.3);
Tailwind
colors: {
  custom: {
    50: '#bf83ef',
    500: '#9d4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ce7;
$custom-light: #bf83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ce7",
  "rgb": {
    "r": 157,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 271.355,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59254,
    "c": 0.22477,
    "h": 304.3
  },
  "luminance": 0.18107
}

Semantic roles & 50–950 ramp

primary
#9D4CE7
secondary
#C6E5AA
accent
#D90D6E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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