#9F4BDC#9F4BDC

#9F4BDC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.6% C 0.215 H 307.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F4BDC
RGBrgb(159, 75, 220)
HSLhsl(275, 67%, 58%)
HSVhsv(275, 66%, 86%)
CMYKcmyk(27.7%, 65.9%, 0%, 13.7%)
CIE-LABlab(48.97, 59.36, -60.20)
CIE-LCHlch(48.97, 84.54, 314.60°)
OKLaboklab(58.61% 0.1314 -0.1704)
OKLCHoklch(58.61% 0.215 307.6)
XYZxyz(29.7297, 17.5708, 69.5216)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BDC #88DC4B
analogous
#574BDC #9F4BDC #DC4BD0
triadic
#9F4BDC #DC9F4B #4BDC9F
tetradic
#9F4BDC #DC574B #88DC4B #4BD0DC
square
#9F4BDC #DC574B #88DC4B #4BD0DC
split-complementary
#9F4BDC #D0DC4B #4BDC57
monochromatic
#601C91 #8126C4 #9F4BDC #BA7EE6 #D6B1F0

Accessibility & contrast

On white

4.65
#9F4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9F4BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BDC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BDC#FFFFFF#000000##FFFFFF
##9F4BDC1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#956A8D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9f4bdc;
/* rgb */ color: rgb(159, 75, 220);
/* oklch */ color: oklch(58.6% 0.215 307.6);
Tailwind
colors: {
  custom: {
    50: '#c083e8',
    500: '#9f4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bdc;
$custom-light: #c083e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bdc",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 274.759,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.2152,
    "h": 307.6
  },
  "luminance": 0.1757
}

Semantic roles & 50–950 ramp

primary
#9F4BDC
secondary
#BDDEA4
accent
#EA3D86
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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