#7E48DD#7E48DD

#7E48DD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.7% C 0.214 H 294.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7E48DD
RGBrgb(126, 72, 221)
HSLhsl(262, 69%, 57%)
HSVhsv(262, 67%, 87%)
CMYKcmyk(43%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.65, 54.49, -67.96)
CIE-LCHlch(44.65, 87.11, 308.72°)
OKLaboklab(54.67% 0.0903 -0.1943)
OKLCHoklch(54.67% 0.214 294.9)
XYZxyz(23.9692, 14.2902, 69.8880)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E48DD #A7DD48
analogous
#485CDD #7E48DD #C948DD
triadic
#7E48DD #DD7E48 #48DD7E
tetradic
#7E48DD #DD485C #A7DD48 #48DDC9
square
#7E48DD #DD485C #A7DD48 #48DDC9
split-complementary
#7E48DD #DDC948 #5CDD48
monochromatic
#451B90 #5E24C3 #7E48DD #A27CE7 #C7AFF0

Accessibility & contrast

On white

5.44
#7E48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7E48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E48DD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E48DD#FFFFFF#000000##FFFFFF
##7E48DD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#646C8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e48dd;
/* rgb */ color: rgb(126, 72, 221);
/* oklch */ color: oklch(54.7% 0.214 294.9);
Tailwind
colors: {
  custom: {
    50: '#ab7fe9',
    500: '#7e48dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e48dd;
$custom-light: #ab7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e48dd",
  "rgb": {
    "r": 126,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 261.745,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54669,
    "c": 0.21428,
    "h": 294.9
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#7E48DD
secondary
#C9DEA2
accent
#EC3CAC
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7E48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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