#9F4BD2#9F4BD2

#9F4BD2 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.205 H 310.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9F4BD2
RGBrgb(159, 75, 210)
HSLhsl(277, 60%, 56%)
HSVhsv(277, 64%, 82%)
CMYKcmyk(24.3%, 64.3%, 0%, 17.6%)
CIE-LABlab(48.33, 57.15, -55.52)
CIE-LCHlch(48.33, 79.68, 315.83°)
OKLaboklab(57.94% 0.1321 -0.1567)
OKLCHoklch(57.94% 0.205 310.1)
XYZxyz(28.4448, 17.0568, 62.7541)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BD2 #7ED24B
analogous
#5B4BD2 #9F4BD2 #D24BC2
triadic
#9F4BD2 #D29F4B #4BD29F
tetradic
#9F4BD2 #D25B4B #7ED24B #4BC2D2
square
#9F4BD2 #D25B4B #7ED24B #4BC2D2
split-complementary
#9F4BD2 #C2D24B #4BD25B
monochromatic
#5D2182 #802DB3 #9F4BD2 #B97CDE #D3ADEA

Accessibility & contrast

On white

4.76
#9F4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9F4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BD2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BD2#FFFFFF#000000##FFFFFF
##9F4BD21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#986688
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4bd2;
/* rgb */ color: rgb(159, 75, 210);
/* oklch */ color: oklch(57.9% 0.205 310.1);
Tailwind
colors: {
  custom: {
    50: '#bf82e0',
    500: '#9f4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bd2;
$custom-light: #bf82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bd2",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 277.333,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57941,
    "c": 0.20496,
    "h": 310.1
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#9F4BD2
secondary
#B6D8A0
accent
#E34581
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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