#9F4FDB#9F4FDB

#9F4FDB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.209 H 307.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9F4FDB
RGBrgb(159, 79, 219)
HSLhsl(274, 66%, 58%)
HSVhsv(274, 64%, 86%)
CMYKcmyk(27.4%, 63.9%, 0%, 14.1%)
CIE-LABlab(49.59, 57.25, -58.63)
CIE-LCHlch(49.59, 81.95, 314.32°)
OKLaboklab(59.03% 0.127 -0.1658)
OKLCHoklch(59.03% 0.209 307.5)
XYZxyz(29.8776, 18.0777, 68.9195)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4FDB #8BDB4F
analogous
#594FDB #9F4FDB #DB4FD1
triadic
#9F4FDB #DB9F4F #4FDB9F
tetradic
#9F4FDB #DB594F #8BDB4F #4FD1DB
square
#9F4FDB #DB594F #8BDB4F #4FD1DB
split-complementary
#9F4FDB #D1DB4F #4FDB59
monochromatic
#601E92 #8228C5 #9F4FDB #BB82E5 #D6B5F0

Accessibility & contrast

On white

4.55
#9F4FDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9F4FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4FDB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4FDB#FFFFFF#000000##000000
##9F4FDB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#956C8E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4fdb;
/* rgb */ color: rgb(159, 79, 219);
/* oklch */ color: oklch(59.0% 0.209 307.5);
Tailwind
colors: {
  custom: {
    50: '#c085e7',
    500: '#9f4fdb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4fdb;
$custom-light: #c085e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4fdb",
  "rgb": {
    "r": 159,
    "g": 79,
    "b": 219
  },
  "hsl": {
    "h": 274.286,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59031,
    "c": 0.2089,
    "h": 307.5
  },
  "luminance": 0.18077
}

Semantic roles & 50–950 ramp

primary
#9F4FDB
secondary
#BFDFA7
accent
#E93F88
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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