#9B47F0#9B47F0

#9B47F0 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.239 H 302.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9B47F0
RGBrgb(155, 71, 240)
HSLhsl(270, 85%, 61%)
HSVhsv(270, 70%, 94%)
CMYKcmyk(35.4%, 70.4%, 0%, 5.9%)
CIE-LABlab(49.21, 64.91, -71.14)
CIE-LCHlch(49.21, 96.30, 312.38°)
OKLaboklab(59.11% 0.1276 -0.2027)
OKLCHoklch(59.11% 0.24 302.2)
XYZxyz(31.4952, 17.7662, 84.1911)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B47F0 #9CF047
analogous
#4747F0 #9B47F0 #EF47F0
triadic
#9B47F0 #F09B47 #47F09B
tetradic
#9B47F0 #F04747 #9CF047 #47F0EF
square
#9B47F0 #F04747 #9CF047 #47F0EF
split-complementary
#9B47F0 #F0EF47 #47F047
monochromatic
#5E0EAE #7C13E7 #9B47F0 #BA80F5 #D9B8F9

Accessibility & contrast

On white

4.61
#9B47F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#9B47F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9B47F0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B47F0#FFFFFF#000000##FFFFFF
##9B47F01.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0074ED
Tritanopia (blue-blind)
#897097
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9b47f0;
/* rgb */ color: rgb(155, 71, 240);
/* oklch */ color: oklch(59.1% 0.239 302.2);
Tailwind
colors: {
  custom: {
    50: '#bf81f6',
    500: '#9b47f0',
    950: '#000000',
  },
}
SCSS
$custom: #9b47f0;
$custom-light: #bf81f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b47f0",
  "rgb": {
    "r": 155,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 269.822,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.2395,
    "h": 302.2
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

primary
#9B47F0
secondary
#CAE9AA
accent
#E10473
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9B47F0

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

Preview Lab → · Contrast checker → · Palette generator →

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