#7B48D9#7B48D9

#7B48D9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.210 H 294.5°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7B48D9
RGBrgb(123, 72, 217)
HSLhsl(261, 66%, 57%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(43.3%, 66.8%, 0%, 14.9%)
CIE-LABlab(44.02, 52.88, -66.70)
CIE-LCHlch(44.02, 85.12, 308.41°)
OKLaboklab(54.06% 0.0868 -0.1907)
OKLCHoklch(54.06% 0.21 294.5)
XYZxyz(23.0068, 13.8548, 67.0943)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D9 #A6D948
analogous
#485ED9 #7B48D9 #C348D9
triadic
#7B48D9 #D97B48 #48D97B
tetradic
#7B48D9 #D9485E #A6D948 #48D9C3
square
#7B48D9 #D9485E #A6D948 #48D9C3
split-complementary
#7B48D9 #D9C348 #5ED948
monochromatic
#431D8A #5C27BD #7B48D9 #A07BE4 #C4ADEE

Accessibility & contrast

On white

5.57
#7B48D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7B48D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D9#FFFFFF#000000##FFFFFF
##7B48D91.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0066D6
Tritanopia (blue-blind)
#616B8B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b48d9;
/* rgb */ color: rgb(123, 72, 217);
/* oklch */ color: oklch(54.1% 0.210 294.5);
Tailwind
colors: {
  custom: {
    50: '#a87ee6',
    500: '#7b48d9',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d9;
$custom-light: #a87ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d9",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 261.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.20953,
    "h": 294.5
  },
  "luminance": 0.13855
}

Semantic roles & 50–950 ramp

primary
#7B48D9
secondary
#C7DCA1
accent
#E93FAD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B48D9

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

Preview Lab → · Contrast checker → · Palette generator →

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