#7B48D1#7B48D1

#7B48D1 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.4% C 0.200 H 296.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7B48D1
RGBrgb(123, 72, 209)
HSLhsl(262, 60%, 55%)
HSVhsv(262, 66%, 82%)
CMYKcmyk(41.1%, 65.6%, 0%, 18%)
CIE-LABlab(43.43, 50.78, -63.08)
CIE-LCHlch(43.43, 80.98, 308.84°)
OKLaboklab(53.44% 0.0878 -0.18)
OKLCHoklch(53.44% 0.2 296)
XYZxyz(21.9913, 13.4487, 61.7464)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D1 #9ED148
analogous
#4859D1 #7B48D1 #C048D1
triadic
#7B48D1 #D17B48 #48D17B
tetradic
#7B48D1 #D14859 #9ED148 #48D1C0
square
#7B48D1 #D14859 #9ED148 #48D1C0
split-complementary
#7B48D1 #D1C048 #59D148
monochromatic
#43207F #5D2CB0 #7B48D1 #9E79DD #C2AAEA

Accessibility & contrast

On white

5.69
#7B48D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7B48D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D1
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D1#FFFFFF#000000##FFFFFF
##7B48D11.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#656886
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b48d1;
/* rgb */ color: rgb(123, 72, 209);
/* oklch */ color: oklch(53.4% 0.200 296.0);
Tailwind
colors: {
  custom: {
    50: '#a77ee0',
    500: '#7b48d1',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d1;
$custom-light: #a77ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d1",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 209
  },
  "hsl": {
    "h": 262.336,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53443,
    "c": 0.20033,
    "h": 296
  },
  "luminance": 0.13449
}

Semantic roles & 50–950 ramp

primary
#7B48D1
secondary
#C2D79E
accent
#E345A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7B48D1

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

Preview Lab → · Contrast checker → · Palette generator →

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