#7B48D5#7B48D5

#7B48D5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.205 H 295.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7B48D5
RGBrgb(123, 72, 213)
HSLhsl(262, 63%, 56%)
HSVhsv(262, 66%, 84%)
CMYKcmyk(42.3%, 66.2%, 0%, 16.5%)
CIE-LABlab(43.73, 51.83, -64.90)
CIE-LCHlch(43.73, 83.05, 308.61°)
OKLaboklab(53.75% 0.0873 -0.1854)
OKLCHoklch(53.75% 0.205 295.2)
XYZxyz(22.4928, 13.6493, 64.3874)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B48D5 #A2D548
analogous
#485BD5 #7B48D5 #C148D5
triadic
#7B48D5 #D57B48 #48D57B
tetradic
#7B48D5 #D5485B #A2D548 #48D5C1
square
#7B48D5 #D5485B #A2D548 #48D5C1
split-complementary
#7B48D5 #D5C148 #5BD548
monochromatic
#431E84 #5D2AB6 #7B48D5 #9F7AE0 #C3ACEC

Accessibility & contrast

On white

5.63
#7B48D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7B48D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B48D5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B48D5#FFFFFF#000000##FFFFFF
##7B48D51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#636A88
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7b48d5;
/* rgb */ color: rgb(123, 72, 213);
/* oklch */ color: oklch(53.7% 0.205 295.2);
Tailwind
colors: {
  custom: {
    50: '#a87ee3',
    500: '#7b48d5',
    950: '#000000',
  },
}
SCSS
$custom: #7b48d5;
$custom-light: #a87ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b48d5",
  "rgb": {
    "r": 123,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 261.702,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53747,
    "c": 0.20494,
    "h": 295.2
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#7B48D5
secondary
#C4DA9F
accent
#E642AB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7B48D5

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

Preview Lab → · Contrast checker → · Palette generator →

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