#7A48CF#7A48CF

#7A48CF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.2% C 0.198 H 296.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7A48CF
RGBrgb(122, 72, 207)
HSLhsl(262, 58%, 55%)
HSVhsv(262, 65%, 81%)
CMYKcmyk(41.1%, 65.2%, 0%, 18.8%)
CIE-LABlab(43.18, 50.06, -62.34)
CIE-LCHlch(43.18, 79.95, 308.77°)
OKLaboklab(53.19% 0.0867 -0.1779)
OKLCHoklch(53.19% 0.198 296)
XYZxyz(21.6029, 13.2768, 60.4439)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48CF #9DCF48
analogous
#485ACF #7A48CF #BE48CF
triadic
#7A48CF #CF7A48 #48CF7A
tetradic
#7A48CF #CF485A #9DCF48 #48CFBE
square
#7A48CF #CF485A #9DCF48 #48CFBE
split-complementary
#7A48CF #CFBE48 #5ACF48
monochromatic
#42217C #5C2DAD #7A48CF #9D78DC #C0A9E8

Accessibility & contrast

On white

5.74
#7A48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7A48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48CF
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48CF#FFFFFF#000000##FFFFFF
##7A48CF1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#646885
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a48cf;
/* rgb */ color: rgb(122, 72, 207);
/* oklch */ color: oklch(53.2% 0.198 296.0);
Tailwind
colors: {
  custom: {
    50: '#a77edf',
    500: '#7a48cf',
    950: '#000000',
  },
}
SCSS
$custom: #7a48cf;
$custom-light: #a77edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48cf",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 262.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.19792,
    "h": 296
  },
  "luminance": 0.13277
}

Semantic roles & 50–950 ramp

primary
#7A48CF
secondary
#C1D69D
accent
#E246A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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