#9B48CA#9B48CA

#9B48CA is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.6% C 0.200 H 311.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9B48CA
RGBrgb(155, 72, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 64%, 79%)
CMYKcmyk(23.3%, 64.4%, 0%, 20.8%)
CIE-LABlab(46.80, 55.92, -53.41)
CIE-LCHlch(46.80, 77.33, 316.32°)
OKLaboklab(56.57% 0.1309 -0.1506)
OKLCHoklch(56.57% 0.2 311)
XYZxyz(26.4936, 15.8682, 57.5329)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48CA #77CA48
analogous
#5A48CA #9B48CA #CA48B8
triadic
#9B48CA #CA9B48 #48CA9B
tetradic
#9B48CA #CA5A48 #77CA48 #48B8CA
square
#9B48CA #CA5A48 #77CA48 #48B8CA
split-complementary
#9B48CA #B8CA48 #48CA5A
monochromatic
#572276 #7B30A5 #9B48CA #B577D8 #CFA7E5

Accessibility & contrast

On white

5.03
#9B48CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9B48CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48CA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48CA#FFFFFF#000000##FFFFFF
##9B48CA1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#956283
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9b48ca;
/* rgb */ color: rgb(155, 72, 202);
/* oklch */ color: oklch(56.6% 0.200 311.0);
Tailwind
colors: {
  custom: {
    50: '#bc80db',
    500: '#9b48ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b48ca;
$custom-light: #bc80db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48ca",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 278.308,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.19954,
    "h": 311
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#9B48CA
secondary
#AFD39B
accent
#DE497F
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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