#7A48CD#7A48CD

#7A48CD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.196 H 296.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7A48CD
RGBrgb(122, 72, 205)
HSLhsl(263, 57%, 54%)
HSVhsv(263, 65%, 80%)
CMYKcmyk(40.5%, 64.9%, 0%, 19.6%)
CIE-LABlab(43.03, 49.54, -61.42)
CIE-LCHlch(43.03, 78.91, 308.89°)
OKLaboklab(53.04% 0.0869 -0.1752)
OKLCHoklch(53.04% 0.196 296.4)
XYZxyz(21.3600, 13.1797, 59.1643)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48CD #9BCD48
analogous
#4859CD #7A48CD #BC48CD
triadic
#7A48CD #CD7A48 #48CD7A
tetradic
#7A48CD #CD4859 #9BCD48 #48CDBC
square
#7A48CD #CD4859 #9BCD48 #48CDBC
split-complementary
#7A48CD #CDBC48 #59CD48
monochromatic
#422179 #5D2EA9 #7A48CD #9D78DA #C0A8E7

Accessibility & contrast

On white

5.78
#7A48CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7A48CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48CD#FFFFFF#000000##FFFFFF
##7A48CD1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#656784
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7a48cd;
/* rgb */ color: rgb(122, 72, 205);
/* oklch */ color: oklch(53.0% 0.196 296.4);
Tailwind
colors: {
  custom: {
    50: '#a67edd',
    500: '#7a48cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a48cd;
$custom-light: #a67edd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48cd",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 205
  },
  "hsl": {
    "h": 262.556,
    "s": 57.082,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5304,
    "c": 0.19559,
    "h": 296.4
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#7A48CD
secondary
#BFD59C
accent
#E047A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7A48CD

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

Preview Lab → · Contrast checker → · Palette generator →

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