#7A48CE#7A48CE

#7A48CE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.1% C 0.197 H 296.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7A48CE
RGBrgb(122, 72, 206)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 65%, 81%)
CMYKcmyk(40.8%, 65%, 0%, 19.2%)
CIE-LABlab(43.10, 49.80, -61.88)
CIE-LCHlch(43.10, 79.43, 308.82°)
OKLaboklab(53.11% 0.0868 -0.1766)
OKLCHoklch(53.11% 0.197 296.2)
XYZxyz(21.4811, 13.2281, 59.8021)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48CE #9CCE48
analogous
#4859CE #7A48CE #BD48CE
triadic
#7A48CE #CE7A48 #48CE7A
tetradic
#7A48CE #CE4859 #9CCE48 #48CEBD
square
#7A48CE #CE4859 #9CCE48 #48CEBD
split-complementary
#7A48CE #CEBD48 #59CE48
monochromatic
#42217B #5D2EAB #7A48CE #9D78DB #C0A9E8

Accessibility & contrast

On white

5.76
#7A48CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7A48CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48CE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48CE#FFFFFF#000000##FFFFFF
##7A48CE1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#656785
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a48ce;
/* rgb */ color: rgb(122, 72, 206);
/* oklch */ color: oklch(53.1% 0.197 296.2);
Tailwind
colors: {
  custom: {
    50: '#a67ede',
    500: '#7a48ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a48ce;
$custom-light: #a67ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48ce",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 206
  },
  "hsl": {
    "h": 262.388,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.19676,
    "h": 296.2
  },
  "luminance": 0.13229
}

Semantic roles & 50–950 ramp

primary
#7A48CE
secondary
#C0D59D
accent
#E147A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A48CE

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

Preview Lab → · Contrast checker → · Palette generator →

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