#9F4CDB#9F4CDB

#9F4CDB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.7% C 0.213 H 307.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9F4CDB
RGBrgb(159, 76, 219)
HSLhsl(275, 67%, 58%)
HSVhsv(275, 65%, 86%)
CMYKcmyk(27.4%, 65.3%, 0%, 14.1%)
CIE-LABlab(49.07, 58.67, -59.47)
CIE-LCHlch(49.07, 83.54, 314.61°)
OKLaboklab(58.66% 0.1304 -0.1683)
OKLCHoklch(58.66% 0.213 307.8)
XYZxyz(29.6661, 17.6547, 68.8490)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CDB #88DB4C
analogous
#574CDB #9F4CDB #DB4CD0
triadic
#9F4CDB #DB9F4C #4CDB9F
tetradic
#9F4CDB #DB574C #88DB4C #4CD0DB
square
#9F4CDB #DB574C #88DB4C #4CD0DB
split-complementary
#9F4CDB #D0DB4C #4CDB57
monochromatic
#601D90 #8127C3 #9F4CDB #BA7FE5 #D6B2EF

Accessibility & contrast

On white

4.63
#9F4CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9F4CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CDB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CDB#FFFFFF#000000##FFFFFF
##9F4CDB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#2F75D8
Tritanopia (blue-blind)
#966A8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4cdb;
/* rgb */ color: rgb(159, 76, 219);
/* oklch */ color: oklch(58.7% 0.213 307.8);
Tailwind
colors: {
  custom: {
    50: '#c083e7',
    500: '#9f4cdb',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cdb;
$custom-light: #c083e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cdb",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 274.825,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.21287,
    "h": 307.8
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

primary
#9F4CDB
secondary
#BDDEA5
accent
#E93E86
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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