#9D4EE7#9D4EE7

#9D4EE7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.222 H 304.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9D4EE7
RGBrgb(157, 78, 231)
HSLhsl(271, 76%, 61%)
HSVhsv(271, 66%, 91%)
CMYKcmyk(32%, 66.2%, 0%, 9.4%)
CIE-LABlab(49.96, 60.04, -64.84)
CIE-LCHlch(49.96, 88.37, 312.80°)
OKLaboklab(59.5% 0.1245 -0.1841)
OKLCHoklch(59.5% 0.222 304.1)
XYZxyz(31.0495, 18.3865, 77.4990)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4EE7 #98E74E
analogous
#504EE7 #9D4EE7 #E74EE5
triadic
#9D4EE7 #E79D4E #4EE79D
tetradic
#9D4EE7 #E7504E #98E74E #4EE5E7
square
#9D4EE7 #E7504E #98E74E #4EE5E7
split-complementary
#9D4EE7 #E5E74E #4EE750
monochromatic
#6016A4 #7F1EDA #9D4EE7 #BB84EE #D9BAF6

Accessibility & contrast

On white

4.49
#9D4EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D4EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4EE7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4EE7#FFFFFF#000000##000000
##9D4EE71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1577E4
Tritanopia (blue-blind)
#8F7094
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d4ee7;
/* rgb */ color: rgb(157, 78, 231);
/* oklch */ color: oklch(59.5% 0.222 304.1);
Tailwind
colors: {
  custom: {
    50: '#bf85ef',
    500: '#9d4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4ee7;
$custom-light: #bf85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4ee7",
  "rgb": {
    "r": 157,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 270.98,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.22228,
    "h": 304.1
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#9D4EE7
secondary
#C7E5AB
accent
#D80D6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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