#9F4CD0#9F4CD0

#9F4CD0 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.202 H 310.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9F4CD0
RGBrgb(159, 76, 208)
HSLhsl(278, 58%, 56%)
HSVhsv(278, 63%, 82%)
CMYKcmyk(23.6%, 63.5%, 0%, 18.4%)
CIE-LABlab(48.38, 56.25, -54.30)
CIE-LCHlch(48.38, 78.18, 316.01°)
OKLaboklab(57.94% 0.1311 -0.1531)
OKLCHoklch(57.94% 0.202 310.6)
XYZxyz(28.2655, 17.0945, 61.4728)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CD0 #7DD04C
analogous
#5D4CD0 #9F4CD0 #D04CBF
triadic
#9F4CD0 #D09F4C #4CD09F
tetradic
#9F4CD0 #D05D4C #7DD04C #4CBFD0
square
#9F4CD0 #D05D4C #7DD04C #4CBFD0
split-complementary
#9F4CD0 #BFD04C #4CD05D
monochromatic
#5D2280 #802EB0 #9F4CD0 #B97CDD #D3ADE9

Accessibility & contrast

On white

4.75
#9F4CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9F4CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CD0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CD0#FFFFFF#000000##FFFFFF
##9F4CD01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#3C74CD
Tritanopia (blue-blind)
#996687
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f4cd0;
/* rgb */ color: rgb(159, 76, 208);
/* oklch */ color: oklch(57.9% 0.202 310.6);
Tailwind
colors: {
  custom: {
    50: '#bf83df',
    500: '#9f4cd0',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cd0;
$custom-light: #bf83df;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cd0",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 277.727,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57936,
    "c": 0.20155,
    "h": 310.6
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#9F4CD0
secondary
#B5D7A0
accent
#E24680
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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