#7B48D8#7B48D8

#7B48D8 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.208 H 294.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7B48D8
RGBrgb(123, 72, 216)
HSLhsl(261, 65%, 56%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(43.1%, 66.7%, 0%, 15.3%)
CIE-LABlab(43.95, 52.62, -66.25)
CIE-LCHlch(43.95, 84.61, 308.46°)
OKLaboklab(53.98% 0.0869 -0.1894)
OKLCHoklch(53.98% 0.208 294.7)
XYZxyz(22.8771, 13.8030, 66.4113)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D8 #A5D848
analogous
#485DD8 #7B48D8 #C348D8
triadic
#7B48D8 #D87B48 #48D87B
tetradic
#7B48D8 #D8485D #A5D848 #48D8C3
square
#7B48D8 #D8485D #A5D848 #48D8C3
split-complementary
#7B48D8 #D8C348 #5DD848
monochromatic
#431D89 #5C28BB #7B48D8 #9F7AE3 #C4ADEE

Accessibility & contrast

On white

5.58
#7B48D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7B48D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D8#FFFFFF#000000##FFFFFF
##7B48D81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0066D5
Tritanopia (blue-blind)
#626B8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b48d8;
/* rgb */ color: rgb(123, 72, 216);
/* oklch */ color: oklch(54.0% 0.208 294.7);
Tailwind
colors: {
  custom: {
    50: '#a87ee5',
    500: '#7b48d8',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d8;
$custom-light: #a87ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d8",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 261.25,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.53978,
    "c": 0.20838,
    "h": 294.7
  },
  "luminance": 0.13804
}

Semantic roles & 50–950 ramp

primary
#7B48D8
secondary
#C7DBA0
accent
#E840AC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B48D8

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

Preview Lab → · Contrast checker → · Palette generator →

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