#7B48BC#7B48BC

#7B48BC is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.176 H 300.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7B48BC
RGBrgb(123, 72, 188)
HSLhsl(266, 46%, 51%)
HSVhsv(266, 62%, 74%)
CMYKcmyk(34.6%, 61.7%, 0%, 26.3%)
CIE-LABlab(41.96, 45.36, -53.27)
CIE-LCHlch(41.96, 69.97, 310.41°)
OKLaboklab(51.92% 0.0896 -0.1512)
OKLCHoklch(51.92% 0.176 300.7)
XYZxyz(19.5607, 12.4764, 48.9449)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48BC #89BC48
analogous
#484FBC #7B48BC #B548BC
triadic
#7B48BC #BC7B48 #48BC7B
tetradic
#7B48BC #BC484F #89BC48 #48BCB5
square
#7B48BC #BC484F #89BC48 #48BCB5
split-complementary
#7B48BC #BCB548 #4FBC48
monochromatic
#412565 #5E3592 #7B48BC #9B75CC #BCA2DD

Accessibility & contrast

On white

6.01
#7B48BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7B48BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48BC
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48BC#FFFFFF#000000##FFFFFF
##7B48BC1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#6D617B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7b48bc;
/* rgb */ color: rgb(123, 72, 188);
/* oklch */ color: oklch(51.9% 0.176 300.7);
Tailwind
colors: {
  custom: {
    50: '#a57dd1',
    500: '#7b48bc',
    950: '#000000',
  },
}
SCSS
$custom: #7b48bc;
$custom-light: #a57dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48bc",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 266.379,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.17578,
    "h": 300.7
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#7B48BC
secondary
#B3CA96
accent
#D6529C
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7B48BC

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

Preview Lab → · Contrast checker → · Palette generator →

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