#7B48D6#7B48D6

#7B48D6 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.206 H 295.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7B48D6
RGBrgb(123, 72, 214)
HSLhsl(262, 63%, 56%)
HSVhsv(262, 66%, 84%)
CMYKcmyk(42.5%, 66.4%, 0%, 16.1%)
CIE-LABlab(43.80, 52.09, -65.35)
CIE-LCHlch(43.80, 83.57, 308.56°)
OKLaboklab(53.82% 0.0872 -0.1867)
OKLCHoklch(53.82% 0.206 295)
XYZxyz(22.6201, 13.7002, 65.0579)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D6 #A3D648
analogous
#485CD6 #7B48D6 #C248D6
triadic
#7B48D6 #D67B48 #48D67B
tetradic
#7B48D6 #D6485C #A3D648 #48D6C2
square
#7B48D6 #D6485C #A3D648 #48D6C2
split-complementary
#7B48D6 #D6C248 #5CD648
monochromatic
#431E86 #5C29B8 #7B48D6 #9F7AE1 #C3ACEC

Accessibility & contrast

On white

5.61
#7B48D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7B48D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D6#FFFFFF#000000##FFFFFF
##7B48D61.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#636A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b48d6;
/* rgb */ color: rgb(123, 72, 214);
/* oklch */ color: oklch(53.8% 0.206 295.0);
Tailwind
colors: {
  custom: {
    50: '#a87ee4',
    500: '#7b48d6',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d6;
$custom-light: #a87ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d6",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 214
  },
  "hsl": {
    "h": 261.549,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.20609,
    "h": 295
  },
  "luminance": 0.13701
}

Semantic roles & 50–950 ramp

primary
#7B48D6
secondary
#C5DAA0
accent
#E641AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B48D6

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

Preview Lab → · Contrast checker → · Palette generator →

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