#9F4CF0#9F4CF0

#9F4CF0 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.1% C 0.234 H 303.1°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9F4CF0
RGBrgb(159, 76, 240)
HSLhsl(270, 85%, 62%)
HSVhsv(270, 68%, 94%)
CMYKcmyk(33.8%, 68.3%, 0%, 5.9%)
CIE-LABlab(50.49, 63.43, -69.04)
CIE-LCHlch(50.49, 93.75, 312.58°)
OKLaboklab(60.12% 0.1281 -0.1964)
OKLCHoklch(60.12% 0.234 303.1)
XYZxyz(32.6070, 18.8311, 84.3381)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CF0 #9DF04C
analogous
#4D4CF0 #9F4CF0 #F04CEF
triadic
#9F4CF0 #F09F4C #4CF09F
tetradic
#9F4CF0 #F04D4C #9DF04C #4CEFF0
square
#9F4CF0 #F04D4C #9DF04C #4CEFF0
split-complementary
#9F4CF0 #EFF04C #4CF04D
monochromatic
#620FB3 #8114EB #9F4CF0 #BD84F5 #DCBDF9

Accessibility & contrast

On white

4.41
#9F4CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9F4CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F4CF0
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CF0#FFFFFF#000000##000000
##9F4CF01.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#8F7299
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f4cf0;
/* rgb */ color: rgb(159, 76, 240);
/* oklch */ color: oklch(60.1% 0.234 303.1);
Tailwind
colors: {
  custom: {
    50: '#c184f6',
    500: '#9f4cf0',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cf0;
$custom-light: #c184f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cf0",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 240
  },
  "hsl": {
    "h": 270.366,
    "s": 84.536,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6012,
    "c": 0.23446,
    "h": 303.1
  },
  "luminance": 0.18831
}

Semantic roles & 50–950 ramp

primary
#9F4CF0
secondary
#CCEAAE
accent
#E10471
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9F4CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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