#7B48C8#7B48C8

#7B48C8 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.190 H 297.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7B48C8
RGBrgb(123, 72, 200)
HSLhsl(264, 54%, 53%)
HSVhsv(264, 64%, 78%)
CMYKcmyk(38.5%, 64%, 0%, 21.6%)
CIE-LABlab(42.79, 48.44, -58.93)
CIE-LCHlch(42.79, 76.28, 309.42°)
OKLaboklab(52.78% 0.0888 -0.1678)
OKLCHoklch(52.78% 0.19 297.9)
XYZxyz(20.9084, 13.0155, 56.0431)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48C8 #95C848
analogous
#4855C8 #7B48C8 #BB48C8
triadic
#7B48C8 #C87B48 #48C87B
tetradic
#7B48C8 #C84855 #95C848 #48C8BB
square
#7B48C8 #C84855 #95C848 #48C8BB
split-complementary
#7B48C8 #C8BB48 #55C848
monochromatic
#432373 #5E31A2 #7B48C8 #9D77D6 #BFA6E4

Accessibility & contrast

On white

5.83
#7B48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7B48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48C8
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48C8#FFFFFF#000000##FFFFFF
##7B48C81.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0064C5
Tritanopia (blue-blind)
#696581
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b48c8;
/* rgb */ color: rgb(123, 72, 200);
/* oklch */ color: oklch(52.8% 0.190 297.9);
Tailwind
colors: {
  custom: {
    50: '#a77ed9',
    500: '#7b48c8',
    950: '#000000',
  },
}
SCSS
$custom: #7b48c8;
$custom-light: #a77ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48c8",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 263.906,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52775,
    "c": 0.18987,
    "h": 297.9
  },
  "luminance": 0.13016
}

Semantic roles & 50–950 ramp

primary
#7B48C8
secondary
#BBD19A
accent
#DD4BA3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B48C8

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

Preview Lab → · Contrast checker → · Palette generator →

#7B48C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva