#7A48DD#7A48DD

#7A48DD is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.214 H 293.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7A48DD
RGBrgb(122, 72, 221)
HSLhsl(260, 69%, 57%)
HSVhsv(260, 67%, 87%)
CMYKcmyk(44.8%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.22, 53.76, -68.67)
CIE-LCHlch(44.22, 87.21, 308.06°)
OKLaboklab(54.27% 0.0849 -0.1965)
OKLCHoklch(54.27% 0.214 293.4)
XYZxyz(23.3910, 13.9921, 69.8609)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48DD #ABDD48
analogous
#4861DD #7A48DD #C448DD
triadic
#7A48DD #DD7A48 #48DD7A
tetradic
#7A48DD #DD4861 #ABDD48 #48DDC4
square
#7A48DD #DD4861 #ABDD48 #48DDC4
split-complementary
#7A48DD #DDC448 #61DD48
monochromatic
#421B90 #5A24C3 #7A48DD #A07CE7 #C5AFF0

Accessibility & contrast

On white

5.53
#7A48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7A48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48DD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48DD#FFFFFF#000000##FFFFFF
##7A48DD1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#5D6D8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a48dd;
/* rgb */ color: rgb(122, 72, 221);
/* oklch */ color: oklch(54.3% 0.214 293.4);
Tailwind
colors: {
  custom: {
    50: '#a87ee9',
    500: '#7a48dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a48dd;
$custom-light: #a87ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48dd",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 260.134,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54267,
    "c": 0.21406,
    "h": 293.4
  },
  "luminance": 0.13993
}

Semantic roles & 50–950 ramp

primary
#7A48DD
secondary
#CADEA2
accent
#EC3CB1
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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