#7B48D7#7B48D7

#7B48D7 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.207 H 294.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7B48D7
RGBrgb(123, 72, 215)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(42.8%, 66.5%, 0%, 15.7%)
CIE-LABlab(43.87, 52.36, -65.80)
CIE-LCHlch(43.87, 84.09, 308.51°)
OKLaboklab(53.9% 0.0871 -0.1881)
OKLCHoklch(53.9% 0.207 294.8)
XYZxyz(22.7482, 13.7514, 65.7325)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D7 #A4D748
analogous
#485DD7 #7B48D7 #C348D7
triadic
#7B48D7 #D77B48 #48D77B
tetradic
#7B48D7 #D7485D #A4D748 #48D7C3
square
#7B48D7 #D7485D #A4D748 #48D7C3
split-complementary
#7B48D7 #D7C348 #5DD748
monochromatic
#431E87 #5C29B9 #7B48D7 #9F7AE2 #C3ACED

Accessibility & contrast

On white

5.60
#7B48D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7B48D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D7#FFFFFF#000000##FFFFFF
##7B48D71.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0065D4
Tritanopia (blue-blind)
#626A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7b48d7;
/* rgb */ color: rgb(123, 72, 215);
/* oklch */ color: oklch(53.9% 0.207 294.8);
Tailwind
colors: {
  custom: {
    50: '#a87ee4',
    500: '#7b48d7',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d7;
$custom-light: #a87ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d7",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 261.399,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53901,
    "c": 0.20724,
    "h": 294.8
  },
  "luminance": 0.13752
}

Semantic roles & 50–950 ramp

primary
#7B48D7
secondary
#C6DBA0
accent
#E741AC
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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