#9F4CE6#9F4CE6

#9F4CE6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.224 H 305.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9F4CE6
RGBrgb(159, 76, 230)
HSLhsl(272, 75%, 60%)
HSVhsv(272, 67%, 90%)
CMYKcmyk(30.9%, 67%, 0%, 9.8%)
CIE-LABlab(49.80, 61.15, -64.53)
CIE-LCHlch(49.80, 88.89, 313.46°)
OKLaboklab(59.41% 0.1293 -0.1831)
OKLCHoklch(59.41% 0.224 305.2)
XYZxyz(31.1623, 18.2532, 76.7291)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CE6 #93E64C
analogous
#524CE6 #9F4CE6 #E64CE0
triadic
#9F4CE6 #E69F4C #4CE69F
tetradic
#9F4CE6 #E6524C #93E64C #4CE0E6
square
#9F4CE6 #E6524C #93E64C #4CE0E6
split-complementary
#9F4CE6 #E0E64C #4CE652
monochromatic
#6117A1 #821ED7 #9F4CE6 #BC82ED #D9B7F5

Accessibility & contrast

On white

4.52
#9F4CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#9F4CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4CE6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CE6#FFFFFF#000000##000000
##9F4CE61.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EB
Deuteranopia (green-blind)
#1877E3
Tritanopia (blue-blind)
#926E93
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9f4ce6;
/* rgb */ color: rgb(159, 76, 230);
/* oklch */ color: oklch(59.4% 0.224 305.2);
Tailwind
colors: {
  custom: {
    50: '#c084ef',
    500: '#9f4ce6',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ce6;
$custom-light: #c084ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ce6",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 230
  },
  "hsl": {
    "h": 272.338,
    "s": 75.49,
    "l": 60
  },
  "oklch": {
    "l": 0.59412,
    "c": 0.22419,
    "h": 305.2
  },
  "luminance": 0.18253
}

Semantic roles & 50–950 ramp

primary
#9F4CE6
secondary
#C5E5A9
accent
#F2368D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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