#7A48C8#7A48C8

#7A48C8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.190 H 297.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7A48C8
RGBrgb(122, 72, 200)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 64%, 78%)
CMYKcmyk(39%, 64%, 0%, 21.6%)
CIE-LABlab(42.68, 48.23, -59.11)
CIE-LCHlch(42.68, 76.29, 309.21°)
OKLaboklab(52.67% 0.0874 -0.1684)
OKLCHoklch(52.67% 0.19 297.4)
XYZxyz(20.7661, 12.9421, 56.0364)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48C8 #96C848
analogous
#4856C8 #7A48C8 #BA48C8
triadic
#7A48C8 #C87A48 #48C87A
tetradic
#7A48C8 #C84856 #96C848 #48C8BA
square
#7A48C8 #C84856 #96C848 #48C8BA
split-complementary
#7A48C8 #C8BA48 #56C848
monochromatic
#422373 #5D31A2 #7A48C8 #9C77D6 #BEA6E4

Accessibility & contrast

On white

5.85
#7A48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7A48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48C8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48C8#FFFFFF#000000##FFFFFF
##7A48C81.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#676581
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7a48c8;
/* rgb */ color: rgb(122, 72, 200);
/* oklch */ color: oklch(52.7% 0.190 297.4);
Tailwind
colors: {
  custom: {
    50: '#a67ed9',
    500: '#7a48c8',
    950: '#000000',
  },
}
SCSS
$custom: #7a48c8;
$custom-light: #a67ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48c8",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 263.438,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.18975,
    "h": 297.4
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#7A48C8
secondary
#BCD19A
accent
#DD4BA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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