#7B48DB#7B48DB

#7B48DB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.2% C 0.212 H 294.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7B48DB
RGBrgb(123, 72, 219)
HSLhsl(261, 67%, 57%)
HSVhsv(261, 67%, 86%)
CMYKcmyk(43.8%, 67.1%, 0%, 14.1%)
CIE-LABlab(44.17, 53.41, -67.60)
CIE-LCHlch(44.17, 86.15, 308.31°)
OKLaboklab(54.21% 0.0865 -0.1933)
OKLCHoklch(54.21% 0.212 294.1)
XYZxyz(23.2685, 13.9595, 68.4726)
Luminance0.1396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48DB #A8DB48
analogous
#485FDB #7B48DB #C448DB
triadic
#7B48DB #DB7B48 #48DB7B
tetradic
#7B48DB #DB485F #A8DB48 #48DBC4
square
#7B48DB #DB485F #A8DB48 #48DBC4
split-complementary
#7B48DB #DBC448 #5FDB48
monochromatic
#431C8D #5B26C0 #7B48DB #A07BE5 #C5AEEF

Accessibility & contrast

On white

5.54
#7B48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7B48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48DB#FFFFFF#000000##FFFFFF
##7B48DB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADF
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#606C8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b48db;
/* rgb */ color: rgb(123, 72, 219);
/* oklch */ color: oklch(54.2% 0.212 294.1);
Tailwind
colors: {
  custom: {
    50: '#a87ee7',
    500: '#7b48db',
    950: '#000000',
  },
}
SCSS
$custom: #7b48db;
$custom-light: #a87ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48db",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 260.816,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5421,
    "c": 0.21183,
    "h": 294.1
  },
  "luminance": 0.1396
}

Semantic roles & 50–950 ramp

primary
#7B48DB
secondary
#C9DDA2
accent
#EA3EAE
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7B48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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