#7B48D4#7B48D4

#7B48D4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.204 H 295.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7B48D4
RGBrgb(123, 72, 212)
HSLhsl(262, 62%, 56%)
HSVhsv(262, 66%, 83%)
CMYKcmyk(42%, 66%, 0%, 16.9%)
CIE-LABlab(43.65, 51.57, -64.44)
CIE-LCHlch(43.65, 82.54, 308.67°)
OKLaboklab(53.67% 0.0875 -0.1841)
OKLCHoklch(53.67% 0.204 295.4)
XYZxyz(22.3663, 13.5986, 63.7210)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D4 #A1D448
analogous
#485BD4 #7B48D4 #C148D4
triadic
#7B48D4 #D47B48 #48D47B
tetradic
#7B48D4 #D4485B #A1D448 #48D4C1
square
#7B48D4 #D4485B #A1D448 #48D4C1
split-complementary
#7B48D4 #D4C148 #5BD448
monochromatic
#431F83 #5D2AB4 #7B48D4 #9F7AE0 #C2ABEB

Accessibility & contrast

On white

5.65
#7B48D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7B48D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D4#FFFFFF#000000##FFFFFF
##7B48D41.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0065D1
Tritanopia (blue-blind)
#636988
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b48d4;
/* rgb */ color: rgb(123, 72, 212);
/* oklch */ color: oklch(53.7% 0.204 295.4);
Tailwind
colors: {
  custom: {
    50: '#a87ee2',
    500: '#7b48d4',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d4;
$custom-light: #a87ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d4",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 212
  },
  "hsl": {
    "h": 261.857,
    "s": 61.947,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53671,
    "c": 0.20379,
    "h": 295.4
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#7B48D4
secondary
#C4D99F
accent
#E543AA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7B48D4

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

Preview Lab → · Contrast checker → · Palette generator →

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