#7B48E0#7B48E0

#7B48E0 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.218 H 293.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7B48E0
RGBrgb(123, 72, 224)
HSLhsl(260, 71%, 58%)
HSVhsv(260, 68%, 88%)
CMYKcmyk(45.1%, 67.9%, 0%, 12.2%)
CIE-LABlab(44.56, 54.73, -69.83)
CIE-LCHlch(44.56, 88.72, 308.09°)
OKLaboklab(54.6% 0.0858 -0.1999)
OKLCHoklch(54.6% 0.218 293.2)
XYZxyz(23.9366, 14.2268, 71.9914)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48E0 #ADE048
analogous
#4861E0 #7B48E0 #C748E0
triadic
#7B48E0 #E07B48 #48E07B
tetradic
#7B48E0 #E04861 #ADE048 #48E0C7
square
#7B48E0 #E04861 #ADE048 #48E0C7
split-complementary
#7B48E0 #E0C748 #61E048
monochromatic
#431994 #5A22C9 #7B48E0 #A17CE9 #C6B1F2

Accessibility & contrast

On white

5.46
#7B48E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7B48E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48E0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48E0#FFFFFF#000000##FFFFFF
##7B48E01.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE5
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#5D6E8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7b48e0;
/* rgb */ color: rgb(123, 72, 224);
/* oklch */ color: oklch(54.6% 0.218 293.2);
Tailwind
colors: {
  custom: {
    50: '#a97eeb',
    500: '#7b48e0',
    950: '#000000',
  },
}
SCSS
$custom: #7b48e0;
$custom-light: #a97eeb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48e0",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 224
  },
  "hsl": {
    "h": 260.132,
    "s": 71.028,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54603,
    "c": 0.21751,
    "h": 293.2
  },
  "luminance": 0.14228
}

Semantic roles & 50–950 ramp

primary
#7B48E0
secondary
#CCE0A4
accent
#EE3AB1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B48E0

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

Preview Lab → · Contrast checker → · Palette generator →

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