#9D4BDB#9D4BDB

#9D4BDB is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.214 H 307.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9D4BDB
RGBrgb(157, 75, 219)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(28.3%, 65.8%, 0%, 14.1%)
CIE-LABlab(48.65, 58.71, -60.15)
CIE-LCHlch(48.65, 84.06, 314.30°)
OKLaboklab(58.3% 0.1289 -0.1703)
OKLCHoklch(58.3% 0.214 307.1)
XYZxyz(29.2042, 17.3151, 68.8077)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BDB #89DB4B
analogous
#554BDB #9D4BDB #DB4BD1
triadic
#9D4BDB #DB9D4B #4BDB9D
tetradic
#9D4BDB #DB554B #89DB4B #4BD1DB
square
#9D4BDB #DB554B #89DB4B #4BD1DB
split-complementary
#9D4BDB #D1DB4B #4BDB55
monochromatic
#5E1D8F #7F27C2 #9D4BDB #B97EE5 #D5B1EF

Accessibility & contrast

On white

4.71
#9D4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9D4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D4BDB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BDB#FFFFFF#000000##FFFFFF
##9D4BDB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#936A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d4bdb;
/* rgb */ color: rgb(157, 75, 219);
/* oklch */ color: oklch(58.3% 0.214 307.1);
Tailwind
colors: {
  custom: {
    50: '#be83e7',
    500: '#9d4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bdb;
$custom-light: #be83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bdb",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 274.167,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58303,
    "c": 0.21363,
    "h": 307.1
  },
  "luminance": 0.17315
}

Semantic roles & 50–950 ramp

primary
#9D4BDB
secondary
#BDDEA4
accent
#EA3E88
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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