#9F4BDF#9F4BDF

#9F4BDF is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.218 H 306.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4BDF
RGBrgb(159, 75, 223)
HSLhsl(274, 70%, 58%)
HSVhsv(274, 66%, 87%)
CMYKcmyk(28.7%, 66.4%, 0%, 12.5%)
CIE-LABlab(49.17, 60.03, -61.59)
CIE-LCHlch(49.17, 86.00, 314.27°)
OKLaboklab(58.81% 0.1311 -0.1745)
OKLCHoklch(58.81% 0.218 306.9)
XYZxyz(30.1306, 17.7311, 71.6329)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BDF #8BDF4B
analogous
#554BDF #9F4BDF #DF4BD5
triadic
#9F4BDF #DF9F4B #4BDF9F
tetradic
#9F4BDF #DF554B #8BDF4B #4BD5DF
square
#9F4BDF #DF554B #8BDF4B #4BD5DF
split-complementary
#9F4BDF #D5DF4B #4BDF55
monochromatic
#601B95 #8224C9 #9F4BDF #BB7FE8 #D6B3F1

Accessibility & contrast

On white

4.62
#9F4BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9F4BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BDF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BDF#FFFFFF#000000##FFFFFF
##9F4BDF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#2675DC
Tritanopia (blue-blind)
#946B8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4bdf;
/* rgb */ color: rgb(159, 75, 223);
/* oklch */ color: oklch(58.8% 0.218 306.9);
Tailwind
colors: {
  custom: {
    50: '#c083ea',
    500: '#9f4bdf',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bdf;
$custom-light: #c083ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bdf",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 274.054,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5881,
    "c": 0.21827,
    "h": 306.9
  },
  "luminance": 0.17731
}

Semantic roles & 50–950 ramp

primary
#9F4BDF
secondary
#BFE0A6
accent
#ED3B88
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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