#9D4BE7#9D4BE7

#9D4BE7 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.226 H 304.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D4BE7
RGBrgb(157, 75, 231)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 68%, 91%)
CMYKcmyk(32%, 67.5%, 0%, 9.4%)
CIE-LABlab(49.46, 61.43, -65.66)
CIE-LCHlch(49.46, 89.91, 313.10°)
OKLaboklab(59.14% 0.1276 -0.1865)
OKLCHoklch(59.14% 0.226 304.4)
XYZxyz(30.8412, 17.9699, 77.4296)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BE7 #95E74B
analogous
#4F4BE7 #9D4BE7 #E74BE3
triadic
#9D4BE7 #E79D4B #4BE79D
tetradic
#9D4BE7 #E74F4B #95E74B #4BE3E7
square
#9D4BE7 #E74F4B #95E74B #4BE3E7
split-complementary
#9D4BE7 #E3E74B #4BE74F
monochromatic
#5F16A2 #7F1DD8 #9D4BE7 #BA81EE #D8B7F5

Accessibility & contrast

On white

4.57
#9D4BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9D4BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4BE7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BE7#FFFFFF#000000##000000
##9D4BE71.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0776E4
Tritanopia (blue-blind)
#8F6E93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4be7;
/* rgb */ color: rgb(157, 75, 231);
/* oklch */ color: oklch(59.1% 0.226 304.4);
Tailwind
colors: {
  custom: {
    50: '#bf83ef',
    500: '#9d4be7',
    950: '#000000',
  },
}
SCSS
$custom: #9d4be7;
$custom-light: #bf83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4be7",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 271.538,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.59136,
    "c": 0.226,
    "h": 304.4
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#9D4BE7
secondary
#C5E5A9
accent
#F3358F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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