#9F54EF#9F54EF

#9F54EF is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 61.0% C 0.224 H 302.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9F54EF
RGBrgb(159, 84, 239)
HSLhsl(269, 83%, 63%)
HSVhsv(269, 65%, 94%)
CMYKcmyk(33.5%, 64.9%, 0%, 6.3%)
CIE-LABlab(51.77, 59.45, -66.40)
CIE-LCHlch(51.77, 89.13, 311.84°)
OKLaboklab(61.02% 0.1199 -0.1887)
OKLCHoklch(61.02% 0.224 302.4)
XYZxyz(33.0447, 19.9435, 83.7532)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54EF #A4EF54
analogous
#5456EF #9F54EF #EC54EF
triadic
#9F54EF #EF9F54 #54EF9F
tetradic
#9F54EF #EF5456 #A4EF54 #54EFEC
square
#9F54EF #EF5456 #A4EF54 #54EFEC
split-complementary
#9F54EF #EFEC54 #56EF54
monochromatic
#6211B7 #801CEA #9F54EF #BE8CF4 #DEC4F9

Accessibility & contrast

On white

4.21
#9F54EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#9F54EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54EF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54EF#FFFFFF#000000##000000
##9F54EF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#147BEC
Tritanopia (blue-blind)
#8F769A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9f54ef;
/* rgb */ color: rgb(159, 84, 239);
/* oklch */ color: oklch(61.0% 0.224 302.4);
Tailwind
colors: {
  custom: {
    50: '#c189f5',
    500: '#9f54ef',
    950: '#000000',
  },
}
SCSS
$custom: #9f54ef;
$custom-light: #c189f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54ef",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 269.032,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.22354,
    "h": 302.4
  },
  "luminance": 0.19944
}

Semantic roles & 50–950 ramp

primary
#9F54EF
secondary
#D0EBB4
accent
#DF0676
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #9F54EF

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

Preview Lab → · Contrast checker → · Palette generator →

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