#9F4CE5#9F4CE5

#9F4CE5 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.3% C 0.223 H 305.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9F4CE5
RGBrgb(159, 76, 229)
HSLhsl(273, 75%, 60%)
HSVhsv(273, 67%, 90%)
CMYKcmyk(30.6%, 66.8%, 0%, 10.2%)
CIE-LABlab(49.73, 60.92, -64.07)
CIE-LCHlch(49.73, 88.41, 313.56°)
OKLaboklab(59.34% 0.1294 -0.1818)
OKLCHoklch(59.34% 0.223 305.5)
XYZxyz(31.0223, 18.1972, 75.9917)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CE5 #92E54C
analogous
#534CE5 #9F4CE5 #E54CDE
triadic
#9F4CE5 #E59F4C #4CE59F
tetradic
#9F4CE5 #E5534C #92E54C #4CDEE5
square
#9F4CE5 #E5534C #92E54C #4CDEE5
split-complementary
#9F4CE5 #DEE54C #4CE553
monochromatic
#61179F #821FD5 #9F4CE5 #BC81ED #D8B7F5

Accessibility & contrast

On white

4.53
#9F4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9F4CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4CE5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CE5#FFFFFF#000000##000000
##9F4CE51.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#1B77E2
Tritanopia (blue-blind)
#936E93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4ce5;
/* rgb */ color: rgb(159, 76, 229);
/* oklch */ color: oklch(59.3% 0.223 305.5);
Tailwind
colors: {
  custom: {
    50: '#c084ee',
    500: '#9f4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ce5;
$custom-light: #c084ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ce5",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 272.549,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59343,
    "c": 0.22316,
    "h": 305.5
  },
  "luminance": 0.18197
}

Semantic roles & 50–950 ramp

primary
#9F4CE5
secondary
#C4E4A9
accent
#F1378C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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