#9D4BEC#9D4BEC

#9D4BEC is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.5% C 0.231 H 303.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9D4BEC
RGBrgb(157, 75, 236)
HSLhsl(271, 81%, 61%)
HSVhsv(271, 68%, 93%)
CMYKcmyk(33.5%, 68.2%, 0%, 7.5%)
CIE-LABlab(49.81, 62.58, -67.91)
CIE-LCHlch(49.81, 92.35, 312.66°)
OKLaboklab(59.49% 0.127 -0.1931)
OKLCHoklch(59.49% 0.231 303.3)
XYZxyz(31.5575, 18.2564, 81.2019)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D4BEC #9AEC4B
analogous
#4C4BEC #9D4BEC #EC4BEB
triadic
#9D4BEC #EC9D4B #4BEC9D
tetradic
#9D4BEC #EC4C4B #9AEC4B #4BEBEC
square
#9D4BEC #EC4C4B #9AEC4B #4BEBEC
split-complementary
#9D4BEC #EBEC4B #4BEC4C
monochromatic
#6012AB #7F18E2 #9D4BEC #BB82F2 #D9BAF8

Accessibility & contrast

On white

4.51
#9D4BEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9D4BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D4BEC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D4BEC#FFFFFF#000000##000000
##9D4BEC1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0076E9
Tritanopia (blue-blind)
#8D7096
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d4bec;
/* rgb */ color: rgb(157, 75, 236);
/* oklch */ color: oklch(59.5% 0.231 303.3);
Tailwind
colors: {
  custom: {
    50: '#c083f3',
    500: '#9d4bec',
    950: '#000000',
  },
}
SCSS
$custom: #9d4bec;
$custom-light: #c083f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d4bec",
  "rgb": {
    "r": 157,
    "g": 75,
    "b": 236
  },
  "hsl": {
    "h": 270.559,
    "s": 80.905,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59492,
    "c": 0.23115,
    "h": 303.3
  },
  "luminance": 0.18256
}

Semantic roles & 50–950 ramp

primary
#9D4BEC
secondary
#C9E8AB
accent
#DD0871
background
#FCF8FF
surface
#F8EFFE
border
#D1CAD6
text
#130B17
muted
#827C85

Preview Lab

Preview with #9D4BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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