#9F52D8#9F52D8

#9F52D8 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.202 H 307.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9F52D8
RGBrgb(159, 82, 216)
HSLhsl(274, 63%, 58%)
HSVhsv(274, 62%, 85%)
CMYKcmyk(26.4%, 62%, 0%, 15.3%)
CIE-LABlab(49.93, 55.12, -56.37)
CIE-LCHlch(49.93, 78.85, 314.36°)
OKLaboklab(59.22% 0.1237 -0.1592)
OKLCHoklch(59.22% 0.202 307.8)
XYZxyz(29.7075, 18.3638, 66.9320)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52D8 #8BD852
analogous
#5C52D8 #9F52D8 #D852CE
triadic
#9F52D8 #D89F52 #52D89F
tetradic
#9F52D8 #D85C52 #8BD852 #52CED8
square
#9F52D8 #D85C52 #8BD852 #52CED8
split-complementary
#9F52D8 #CED852 #52D85C
monochromatic
#60208F #822CC1 #9F52D8 #BB84E3 #D6B6EF

Accessibility & contrast

On white

4.49
#9F52D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9F52D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F52D8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52D8#FFFFFF#000000##000000
##9F52D81.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0374DC
Deuteranopia (green-blind)
#3B78D5
Tritanopia (blue-blind)
#966D8E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f52d8;
/* rgb */ color: rgb(159, 82, 216);
/* oklch */ color: oklch(59.2% 0.202 307.8);
Tailwind
colors: {
  custom: {
    50: '#bf87e5',
    500: '#9f52d8',
    950: '#000000',
  },
}
SCSS
$custom: #9f52d8;
$custom-light: #bf87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52d8",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 216
  },
  "hsl": {
    "h": 274.478,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59219,
    "c": 0.20163,
    "h": 307.8
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#9F52D8
secondary
#BFDDA8
accent
#E64288
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9F52D8

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

Preview Lab → · Contrast checker → · Palette generator →

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