#7C48DD#7C48DD

#7C48DD is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.214 H 294.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7C48DD
RGBrgb(124, 72, 221)
HSLhsl(261, 69%, 57%)
HSVhsv(261, 67%, 87%)
CMYKcmyk(43.9%, 67.4%, 0%, 13.3%)
CIE-LABlab(44.43, 54.12, -68.32)
CIE-LCHlch(44.43, 87.16, 308.39°)
OKLaboklab(54.47% 0.0876 -0.1954)
OKLCHoklch(54.47% 0.214 294.1)
XYZxyz(23.6772, 14.1396, 69.8743)
Luminance0.1414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48DD #A9DD48
analogous
#485EDD #7C48DD #C748DD
triadic
#7C48DD #DD7C48 #48DD7C
tetradic
#7C48DD #DD485E #A9DD48 #48DDC7
square
#7C48DD #DD485E #A9DD48 #48DDC7
split-complementary
#7C48DD #DDC748 #5EDD48
monochromatic
#441B90 #5C24C3 #7C48DD #A17CE7 #C6AFF0

Accessibility & contrast

On white

5.49
#7C48DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7C48DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48DD#FFFFFF#000000##FFFFFF
##7C48DD1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#616C8D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7c48dd;
/* rgb */ color: rgb(124, 72, 221);
/* oklch */ color: oklch(54.5% 0.214 294.1);
Tailwind
colors: {
  custom: {
    50: '#a97ee9',
    500: '#7c48dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c48dd;
$custom-light: #a97ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48dd",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 221
  },
  "hsl": {
    "h": 260.94,
    "s": 68.664,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54467,
    "c": 0.21416,
    "h": 294.1
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C48DD

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

Preview Lab → · Contrast checker → · Palette generator →

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