#9F52F8#9F52F8

#9F52F8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.4% C 0.236 H 300.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9F52F8
RGBrgb(159, 82, 248)
HSLhsl(268, 92%, 65%)
HSVhsv(268, 67%, 97%)
CMYKcmyk(35.9%, 66.9%, 0%, 2.7%)
CIE-LABlab(52.04, 62.53, -70.99)
CIE-LCHlch(52.04, 94.60, 311.37°)
OKLaboklab(61.41% 0.121 -0.2022)
OKLCHoklch(61.41% 0.236 300.9)
XYZxyz(34.2545, 20.1826, 90.8797)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52F8 #ABF852
analogous
#5258F8 #9F52F8 #F252F8
triadic
#9F52F8 #F89F52 #52F89F
tetradic
#9F52F8 #F85258 #ABF852 #52F8F2
square
#9F52F8 #F85258 #ABF852 #52F8F2
split-complementary
#9F52F8 #F8F252 #58F852
monochromatic
#6108C8 #7E17F6 #9F52F8 #C08DFA #E0C8FD

Accessibility & contrast

On white

4.17
#9F52F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#9F52F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F52F8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52F8#FFFFFF#000000##000000
##9F52F81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#8C799F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #9f52f8;
/* rgb */ color: rgb(159, 82, 248);
/* oklch */ color: oklch(61.4% 0.236 300.9);
Tailwind
colors: {
  custom: {
    50: '#c188fc',
    500: '#9f52f8',
    950: '#000000',
  },
}
SCSS
$custom: #9f52f8;
$custom-light: #c188fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52f8",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 248
  },
  "hsl": {
    "h": 267.831,
    "s": 92.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61407,
    "c": 0.23559,
    "h": 300.9
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#9F52F8
secondary
#D5EFB6
accent
#E6007B
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C18
muted
#827D86

Preview Lab

Preview with #9F52F8

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

Preview Lab → · Contrast checker → · Palette generator →

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