#9B48CF#9B48CF

#9B48CF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.205 H 309.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9B48CF
RGBrgb(155, 72, 207)
HSLhsl(277, 58%, 55%)
HSVhsv(277, 65%, 81%)
CMYKcmyk(25.1%, 65.2%, 0%, 18.8%)
CIE-LABlab(47.12, 57.01, -55.78)
CIE-LCHlch(47.12, 79.76, 315.63°)
OKLaboklab(56.9% 0.1306 -0.1576)
OKLCHoklch(56.9% 0.205 309.7)
XYZxyz(27.0952, 16.1088, 60.7013)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B48CF #7CCF48
analogous
#5848CF #9B48CF #CF48C0
triadic
#9B48CF #CF9B48 #48CF9B
tetradic
#9B48CF #CF5848 #7CCF48 #48C0CF
square
#9B48CF #CF5848 #7CCF48 #48C0CF
split-complementary
#9B48CF #C0CF48 #48CF58
monochromatic
#59217C #7C2DAD #9B48CF #B578DC #D0A9E8

Accessibility & contrast

On white

4.97
#9B48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9B48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B48CF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B48CF#FFFFFF#000000##FFFFFF
##9B48CF1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3471CC
Tritanopia (blue-blind)
#946485
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9b48cf;
/* rgb */ color: rgb(155, 72, 207);
/* oklch */ color: oklch(56.9% 0.205 309.7);
Tailwind
colors: {
  custom: {
    50: '#bc80de',
    500: '#9b48cf',
    950: '#000000',
  },
}
SCSS
$custom: #9b48cf;
$custom-light: #bc80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9b48cf",
  "rgb": {
    "r": 155,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 276.889,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.20466,
    "h": 309.7
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#9B48CF
secondary
#B3D69D
accent
#E24682
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9B48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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