#9F54FC#9F54FC

#9F54FC is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.9% C 0.237 H 299.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9F54FC
RGBrgb(159, 84, 252)
HSLhsl(267, 97%, 66%)
HSVhsv(267, 67%, 99%)
CMYKcmyk(36.9%, 66.7%, 0%, 1.2%)
CIE-LABlab(52.66, 62.54, -72.21)
CIE-LCHlch(52.66, 95.53, 310.89°)
OKLaboklab(61.94% 0.1184 -0.2058)
OKLCHoklch(61.94% 0.237 299.9)
XYZxyz(35.0347, 20.7395, 94.2339)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F54FC #B1FC54
analogous
#545DFC #9F54FC #F354FC
triadic
#9F54FC #FC9F54 #54FC9F
tetradic
#9F54FC #FC545D #B1FC54 #54FCF3
square
#9F54FC #FC545D #B1FC54 #54FCF3
split-complementary
#9F54FC #FCF354 #5DFC54
monochromatic
#6004D2 #7D18FB #9F54FC #C190FD #E3CCFE

Accessibility & contrast

On white

4.08
#9F54FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9F54FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F54FC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F54FC#FFFFFF#000000##000000
##9F54FC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#8A7BA1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9f54fc;
/* rgb */ color: rgb(159, 84, 252);
/* oklch */ color: oklch(61.9% 0.237 299.9);
Tailwind
colors: {
  custom: {
    50: '#c289fe',
    500: '#9f54fc',
    950: '#000000',
  },
}
SCSS
$custom: #9f54fc;
$custom-light: #c289fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f54fc",
  "rgb": {
    "r": 159,
    "g": 84,
    "b": 252
  },
  "hsl": {
    "h": 266.786,
    "s": 96.552,
    "l": 65.882
  },
  "oklch": {
    "l": 0.61939,
    "c": 0.2374,
    "h": 299.9
  },
  "luminance": 0.2074
}

Semantic roles & 50–950 ramp

primary
#9F54FC
secondary
#D9F2BA
accent
#E6007F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F54FC

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

Preview Lab → · Contrast checker → · Palette generator →

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