#7A48BF#7A48BF

#7A48BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.179 H 299.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7A48BF
RGBrgb(122, 72, 191)
HSLhsl(265, 48%, 52%)
HSVhsv(265, 62%, 75%)
CMYKcmyk(36.1%, 62.3%, 0%, 25.1%)
CIE-LABlab(42.05, 45.90, -54.89)
CIE-LCHlch(42.05, 71.55, 309.91°)
OKLaboklab(52.02% 0.0881 -0.156)
OKLCHoklch(52.02% 0.179 299.5)
XYZxyz(19.7451, 12.5337, 50.6591)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48BF #8DBF48
analogous
#4852BF #7A48BF #B648BF
triadic
#7A48BF #BF7A48 #48BF7A
tetradic
#7A48BF #BF4852 #8DBF48 #48BFB6
square
#7A48BF #BF4852 #8DBF48 #48BFB6
split-complementary
#7A48BF #BFB648 #52BF48
monochromatic
#412468 #5D3496 #7A48BF #9B75CF #BCA3DF

Accessibility & contrast

On white

5.99
#7A48BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7A48BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48BF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48BF#FFFFFF#000000##FFFFFF
##7A48BF1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1762BC
Tritanopia (blue-blind)
#6B627D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7a48bf;
/* rgb */ color: rgb(122, 72, 191);
/* oklch */ color: oklch(52.0% 0.179 299.5);
Tailwind
colors: {
  custom: {
    50: '#a57dd3',
    500: '#7a48bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a48bf;
$custom-light: #a57dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48bf",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 265.21,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.17915,
    "h": 299.5
  },
  "luminance": 0.12534
}

Semantic roles & 50–950 ramp

primary
#7A48BF
secondary
#B6CC97
accent
#D8509F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7A48BF

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

Preview Lab → · Contrast checker → · Palette generator →

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