#7C48CF#7C48CF

#7C48CF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.198 H 296.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7C48CF
RGBrgb(124, 72, 207)
HSLhsl(263, 58%, 55%)
HSVhsv(263, 65%, 81%)
CMYKcmyk(40.1%, 65.2%, 0%, 18.8%)
CIE-LABlab(43.40, 50.46, -61.98)
CIE-LCHlch(43.40, 79.92, 309.15°)
OKLaboklab(53.4% 0.0894 -0.1768)
OKLCHoklch(53.4% 0.198 296.8)
XYZxyz(21.8891, 13.4244, 60.4573)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C48CF #9BCF48
analogous
#4858CF #7C48CF #C048CF
triadic
#7C48CF #CF7C48 #48CF7C
tetradic
#7C48CF #CF4858 #9BCF48 #48CFC0
square
#7C48CF #CF4858 #9BCF48 #48CFC0
split-complementary
#7C48CF #CFC048 #58CF48
monochromatic
#44217C #5E2DAD #7C48CF #9F78DC #C1A9E8

Accessibility & contrast

On white

5.70
#7C48CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7C48CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C48CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C48CF#FFFFFF#000000##FFFFFF
##7C48CF1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#676785
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7c48cf;
/* rgb */ color: rgb(124, 72, 207);
/* oklch */ color: oklch(53.4% 0.198 296.8);
Tailwind
colors: {
  custom: {
    50: '#a87edf',
    500: '#7c48cf',
    950: '#000000',
  },
}
SCSS
$custom: #7c48cf;
$custom-light: #a87edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c48cf",
  "rgb": {
    "r": 124,
    "g": 72,
    "b": 207
  },
  "hsl": {
    "h": 263.111,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53397,
    "c": 0.19811,
    "h": 296.8
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#7C48CF
secondary
#C0D69D
accent
#E246A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C48CF

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

Preview Lab → · Contrast checker → · Palette generator →

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