#7C48E9#7C48E9

#7C48E9 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.4% C 0.228 H 292.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7C48E9
RGBrgb(124, 72, 233)
HSLhsl(259, 79%, 60%)
HSVhsv(259, 69%, 91%)
CMYKcmyk(46.8%, 69.1%, 0%, 8.6%)
CIE-LABlab(45.36, 57.29, -73.61)
CIE-LCHlch(45.36, 93.28, 307.89°)
OKLaboklab(55.42% 0.0856 -0.211)
OKLCHoklch(55.42% 0.228 292.1)
XYZxyz(25.3334, 14.8021, 78.5973)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48E9 #B5E948
analogous
#4864E9 #7C48E9 #CD48E9
triadic
#7C48E9 #E97C48 #48E97C
tetradic
#7C48E9 #E94864 #B5E948 #48E9CD
square
#7C48E9 #E94864 #B5E948 #48E9CD
split-complementary
#7C48E9 #E9CD48 #64E948
monochromatic
#4214A3 #581ADA #7C48E9 #A37FF0 #CAB5F6

Accessibility & contrast

On white

5.30
#7C48E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7C48E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48E9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48E9#FFFFFF#000000##FFFFFF
##7C48E91.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEE
Deuteranopia (green-blind)
#0068E6
Tritanopia (blue-blind)
#5A7193
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c48e9;
/* rgb */ color: rgb(124, 72, 233);
/* oklch */ color: oklch(55.4% 0.228 292.1);
Tailwind
colors: {
  custom: {
    50: '#ab7ff1',
    500: '#7c48e9',
    950: '#000000',
  },
}
SCSS
$custom: #7c48e9;
$custom-light: #ab7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48e9",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 233
  },
  "hsl": {
    "h": 259.379,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5542,
    "c": 0.2277,
    "h": 292.1
  },
  "luminance": 0.14803
}

Semantic roles & 50–950 ramp

primary
#7C48E9
secondary
#D1E6A7
accent
#F533B6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C48E9

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

Preview Lab → · Contrast checker → · Palette generator →

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