#9A30BF#9A30BF

#9A30BF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.218 H 315.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9A30BF
RGBrgb(154, 48, 191)
HSLhsl(284, 60%, 47%)
HSVhsv(284, 75%, 75%)
CMYKcmyk(19.4%, 74.9%, 0%, 25.1%)
CIE-LABlab(42.38, 63.45, -54.15)
CIE-LCHlch(42.38, 83.42, 319.53°)
OKLaboklab(53.15% 0.1557 -0.1526)
OKLCHoklch(53.15% 0.218 315.6)
XYZxyz(23.7858, 12.7464, 50.4875)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A30BF #55BF30
analogous
#5330BF #9A30BF #BF309C
triadic
#9A30BF #BF9A30 #30BF9A
tetradic
#9A30BF #BF5330 #55BF30 #309CBF
square
#9A30BF #BF5330 #55BF30 #309CBF
split-complementary
#9A30BF #9CBF30 #30BF53
monochromatic
#4B175D #73248E #9A30BF #B457D5 #CA88E1

Accessibility & contrast

On white

5.92
#9A30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9A30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A30BF
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A30BF#FFFFFF#000000##FFFFFF
##9A30BF1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#974F76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a30bf;
/* rgb */ color: rgb(154, 48, 191);
/* oklch */ color: oklch(53.1% 0.218 315.6);
Tailwind
colors: {
  custom: {
    50: '#bc73d3',
    500: '#9a30bf',
    950: '#000000',
  },
}
SCSS
$custom: #9a30bf;
$custom-light: #bc73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a30bf",
  "rgb": {
    "r": 154,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 284.476,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5315,
    "c": 0.21803,
    "h": 315.6
  },
  "luminance": 0.12746
}

Semantic roles & 50–950 ramp

primary
#9A30BF
secondary
#93CB80
accent
#E3456E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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