#7B48E7#7B48E7

#7B48E7 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.225 H 292.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7B48E7
RGBrgb(123, 72, 231)
HSLhsl(259, 77%, 59%)
HSVhsv(259, 69%, 91%)
CMYKcmyk(46.8%, 68.8%, 0%, 9.4%)
CIE-LABlab(45.10, 56.59, -72.91)
CIE-LCHlch(45.10, 92.29, 307.82°)
OKLaboklab(55.16% 0.0846 -0.2089)
OKLCHoklch(55.16% 0.225 292)
XYZxyz(24.9055, 14.6143, 77.0944)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48E7 #B4E748
analogous
#4865E7 #7B48E7 #CA48E7
triadic
#7B48E7 #E77B48 #48E77B
tetradic
#7B48E7 #E74865 #B4E748 #48E7CA
square
#7B48E7 #E74865 #B4E748 #48E7CA
split-complementary
#7B48E7 #E7CA48 #65E748
monochromatic
#4115A0 #581CD6 #7B48E7 #A27EEE #C9B4F5

Accessibility & contrast

On white

5.35
#7B48E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7B48E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48E7
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48E7#FFFFFF#000000##FFFFFF
##7B48E71.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0067E4
Tritanopia (blue-blind)
#597092
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7b48e7;
/* rgb */ color: rgb(123, 72, 231);
/* oklch */ color: oklch(55.2% 0.225 292.0);
Tailwind
colors: {
  custom: {
    50: '#aa7ff0',
    500: '#7b48e7',
    950: '#000000',
  },
}
SCSS
$custom: #7b48e7;
$custom-light: #aa7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48e7",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 259.245,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.22543,
    "h": 292
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#7B48E7
secondary
#D1E4A6
accent
#F334B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7B48E7

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

Preview Lab → · Contrast checker → · Palette generator →

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