#9D4FE7#9D4FE7

#9D4FE7 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.6% C 0.221 H 304.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9D4FE7
RGBrgb(157, 79, 231)
HSLhsl(271, 76%, 61%)
HSVhsv(271, 66%, 91%)
CMYKcmyk(32%, 65.8%, 0%, 9.4%)
CIE-LABlab(50.13, 59.57, -64.57)
CIE-LCHlch(50.13, 87.85, 312.69°)
OKLaboklab(59.62% 0.1234 -0.1833)
OKLCHoklch(59.62% 0.221 304)
XYZxyz(31.1211, 18.5297, 77.5229)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4FE7 #99E74F
analogous
#514FE7 #9D4FE7 #E74FE5
triadic
#9D4FE7 #E79D4F #4FE79D
tetradic
#9D4FE7 #E7514F #99E74F #4FE5E7
square
#9D4FE7 #E7514F #99E74F #4FE5E7
split-complementary
#9D4FE7 #E5E74F #4FE751
monochromatic
#6017A5 #7F1EDB #9D4FE7 #BB85EE #D9BBF6

Accessibility & contrast

On white

4.46
#9D4FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9D4FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4FE7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4FE7#FFFFFF#000000##000000
##9D4FE71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d4fe7;
/* rgb */ color: rgb(157, 79, 231);
/* oklch */ color: oklch(59.6% 0.221 304.0);
Tailwind
colors: {
  custom: {
    50: '#bf85ef',
    500: '#9d4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4fe7;
$custom-light: #bf85ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4fe7",
  "rgb": {
    "r": 157,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 270.789,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.22101,
    "h": 304
  },
  "luminance": 0.1853
}

Semantic roles & 50–950 ramp

primary
#9D4FE7
secondary
#C8E6AC
accent
#D80D70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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