#9F4CEA#9F4CEA

#9F4CEA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.7% C 0.228 H 304.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9F4CEA
RGBrgb(159, 76, 234)
HSLhsl(272, 79%, 61%)
HSVhsv(272, 68%, 92%)
CMYKcmyk(32.1%, 67.5%, 0%, 8.2%)
CIE-LABlab(50.07, 62.06, -66.34)
CIE-LCHlch(50.07, 90.84, 313.09°)
OKLaboklab(59.69% 0.1289 -0.1885)
OKLCHoklch(59.69% 0.228 304.4)
XYZxyz(31.7304, 18.4804, 79.7214)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CEA #97EA4C
analogous
#504CEA #9F4CEA #EA4CE6
triadic
#9F4CEA #EA9F4C #4CEA9F
tetradic
#9F4CEA #EA504C #97EA4C #4CE6EA
square
#9F4CEA #EA504C #97EA4C #4CE6EA
split-complementary
#9F4CEA #E6EA4C #4CEA50
monochromatic
#6214A8 #811ADF #9F4CEA #BC83F0 #DABAF7

Accessibility & contrast

On white

4.47
#9F4CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#9F4CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4CEA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CEA#FFFFFF#000000##000000
##9F4CEA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EF
Deuteranopia (green-blind)
#0777E7
Tritanopia (blue-blind)
#917095
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4cea;
/* rgb */ color: rgb(159, 76, 234);
/* oklch */ color: oklch(59.7% 0.228 304.4);
Tailwind
colors: {
  custom: {
    50: '#c184f2',
    500: '#9f4cea',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cea;
$custom-light: #c184f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cea",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 234
  },
  "hsl": {
    "h": 271.519,
    "s": 79,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59693,
    "c": 0.22831,
    "h": 304.4
  },
  "luminance": 0.1848
}

Semantic roles & 50–950 ramp

primary
#9F4CEA
secondary
#C7E7AB
accent
#DB0A6D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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