#9F4EE7#9F4EE7

#9F4EE7 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.7% C 0.223 H 304.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9F4EE7
RGBrgb(159, 78, 231)
HSLhsl(272, 76%, 61%)
HSVhsv(272, 66%, 91%)
CMYKcmyk(31.2%, 66.2%, 0%, 9.4%)
CIE-LABlab(50.20, 60.45, -64.44)
CIE-LCHlch(50.20, 88.35, 313.17°)
OKLaboklab(59.72% 0.1271 -0.1829)
OKLCHoklch(59.72% 0.223 304.8)
XYZxyz(31.4430, 18.5894, 77.5174)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4EE7 #96E74E
analogous
#534EE7 #9F4EE7 #E74EE2
triadic
#9F4EE7 #E79F4E #4EE79F
tetradic
#9F4EE7 #E7534E #96E74E #4EE2E7
square
#9F4EE7 #E7534E #96E74E #4EE2E7
split-complementary
#9F4EE7 #E2E74E #4EE753
monochromatic
#6116A4 #811EDA #9F4EE7 #BC84EE #D9BAF6

Accessibility & contrast

On white

4.45
#9F4EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9F4EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4EE7
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4EE7#FFFFFF#000000##000000
##9F4EE71.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#1B78E4
Tritanopia (blue-blind)
#927094
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f4ee7;
/* rgb */ color: rgb(159, 78, 231);
/* oklch */ color: oklch(59.7% 0.223 304.8);
Tailwind
colors: {
  custom: {
    50: '#c085ef',
    500: '#9f4ee7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ee7;
$custom-light: #c085ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ee7",
  "rgb": {
    "r": 159,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 271.765,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59721,
    "c": 0.22272,
    "h": 304.8
  },
  "luminance": 0.18589
}

Semantic roles & 50–950 ramp

primary
#9F4EE7
secondary
#C7E5AB
accent
#D80D6D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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