#7A48DF#7A48DF

#7A48DF is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.4% C 0.216 H 293.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A48DF
RGBrgb(122, 72, 223)
HSLhsl(260, 70%, 58%)
HSVhsv(260, 68%, 87%)
CMYKcmyk(45.3%, 67.7%, 0%, 12.5%)
CIE-LABlab(44.38, 54.29, -69.56)
CIE-LCHlch(44.38, 88.24, 307.97°)
OKLaboklab(54.43% 0.0846 -0.1991)
OKLCHoklch(54.43% 0.216 293)
XYZxyz(23.6590, 14.0993, 71.2726)
Luminance0.1410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A48DF #ADDF48
analogous
#4861DF #7A48DF #C648DF
triadic
#7A48DF #DF7A48 #48DF7A
tetradic
#7A48DF #DF4861 #ADDF48 #48DFC6
square
#7A48DF #DF4861 #ADDF48 #48DFC6
split-complementary
#7A48DF #DFC648 #61DF48
monochromatic
#421A93 #5923C7 #7A48DF #A07CE8 #C6B0F1

Accessibility & contrast

On white

5.50
#7A48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A48DF
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A48DF#FFFFFF#000000##FFFFFF
##7A48DF1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#5C6D8E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a48df;
/* rgb */ color: rgb(122, 72, 223);
/* oklch */ color: oklch(54.4% 0.216 293.0);
Tailwind
colors: {
  custom: {
    50: '#a87eea',
    500: '#7a48df',
    950: '#000000',
  },
}
SCSS
$custom: #7a48df;
$custom-light: #a87eea;
$custom-dark: #000000;
JSON
{
  "hex": "#7a48df",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 259.868,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54425,
    "c": 0.21635,
    "h": 293
  },
  "luminance": 0.141
}

Semantic roles & 50–950 ramp

primary
#7A48DF
secondary
#CCE0A3
accent
#ED3BB2
background
#FAF7FE
surface
#F5EEFD
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7A48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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