#9B59F2#9B59F2

#9B59F2 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.5% C 0.220 H 299.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9B59F2
RGBrgb(155, 89, 242)
HSLhsl(266, 85%, 65%)
HSVhsv(266, 63%, 95%)
CMYKcmyk(36%, 63.2%, 0%, 5.1%)
CIE-LABlab(52.42, 56.89, -67.05)
CIE-LCHlch(52.42, 87.93, 310.31°)
OKLaboklab(61.45% 0.109 -0.1907)
OKLCHoklch(61.45% 0.22 299.7)
XYZxyz(33.1130, 20.5238, 86.2041)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B59F2 #B0F259
analogous
#5964F2 #9B59F2 #E759F2
triadic
#9B59F2 #F29B59 #59F29B
tetradic
#9B59F2 #F25964 #B0F259 #59F2E7
square
#9B59F2 #F25964 #B0F259 #59F2E7
split-complementary
#9B59F2 #F2E759 #64F259
monochromatic
#5C0FC1 #7920EE #9B59F2 #BD92F6 #DFCBFB

Accessibility & contrast

On white

4.11
#9B59F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9B59F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B59F2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B59F2#FFFFFF#000000##000000
##9B59F21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#0D7CEF
Tritanopia (blue-blind)
#887B9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9b59f2;
/* rgb */ color: rgb(155, 89, 242);
/* oklch */ color: oklch(61.5% 0.220 299.7);
Tailwind
colors: {
  custom: {
    50: '#be8bf7',
    500: '#9b59f2',
    950: '#000000',
  },
}
SCSS
$custom: #9b59f2;
$custom-light: #be8bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b59f2",
  "rgb": {
    "r": 155,
    "g": 89,
    "b": 242
  },
  "hsl": {
    "h": 265.882,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61451,
    "c": 0.21967,
    "h": 299.7
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

primary
#9B59F2
secondary
#D7EDB9
accent
#E20482
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #9B59F2

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

Preview Lab → · Contrast checker → · Palette generator →

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