#9F4CE0#9F4CE0

#9F4CE0 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.0% C 0.218 H 306.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9F4CE0
RGBrgb(159, 76, 224)
HSLhsl(274, 70%, 59%)
HSVhsv(274, 66%, 88%)
CMYKcmyk(29%, 66.1%, 0%, 12.2%)
CIE-LABlab(49.40, 59.79, -61.78)
CIE-LCHlch(49.40, 85.97, 314.06°)
OKLaboklab(59% 0.13 -0.1751)
OKLCHoklch(59% 0.218 306.6)
XYZxyz(30.3342, 17.9219, 72.3678)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CE0 #8DE04C
analogous
#554CE0 #9F4CE0 #E04CD7
triadic
#9F4CE0 #E09F4C #4CE09F
tetradic
#9F4CE0 #E0554C #8DE04C #4CD7E0
square
#9F4CE0 #E0554C #8DE04C #4CD7E0
split-complementary
#9F4CE0 #D7E04C #4CE055
monochromatic
#601A97 #8223CC #9F4CE0 #BB80E9 #D7B4F2

Accessibility & contrast

On white

4.58
#9F4CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9F4CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4CE0
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CE0#FFFFFF#000000##000000
##9F4CE01.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#2676DD
Tritanopia (blue-blind)
#946C90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9f4ce0;
/* rgb */ color: rgb(159, 76, 224);
/* oklch */ color: oklch(59.0% 0.218 306.6);
Tailwind
colors: {
  custom: {
    50: '#c083ea',
    500: '#9f4ce0',
    950: '#000000',
  },
}
SCSS
$custom: #9f4ce0;
$custom-light: #c083ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4ce0",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 273.649,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.21802,
    "h": 306.6
  },
  "luminance": 0.17922
}

Semantic roles & 50–950 ramp

primary
#9F4CE0
secondary
#C0E1A7
accent
#ED3B89
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F4CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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