#7C49BF#7C49BF

#7C49BF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.178 H 300.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7C49BF
RGBrgb(124, 73, 191)
HSLhsl(266, 48%, 52%)
HSVhsv(266, 62%, 75%)
CMYKcmyk(35.1%, 61.8%, 0%, 25.1%)
CIE-LABlab(42.48, 45.81, -54.19)
CIE-LCHlch(42.48, 70.96, 310.21°)
OKLaboklab(52.38% 0.0896 -0.1539)
OKLCHoklch(52.38% 0.178 300.2)
XYZxyz(20.0964, 12.8116, 50.6942)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C49BF #8CBF49
analogous
#4951BF #7C49BF #B749BF
triadic
#7C49BF #BF7C49 #49BF7C
tetradic
#7C49BF #BF4951 #8CBF49 #49BFB7
square
#7C49BF #BF4951 #8CBF49 #49BFB7
split-complementary
#7C49BF #BFB749 #51BF49
monochromatic
#422569 #5F3596 #7C49BF #9D76CF #BDA4DF

Accessibility & contrast

On white

5.89
#7C49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7C49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C49BF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C49BF#FFFFFF#000000##FFFFFF
##7C49BF1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#1D63BC
Tritanopia (blue-blind)
#6E627D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7c49bf;
/* rgb */ color: rgb(124, 73, 191);
/* oklch */ color: oklch(52.4% 0.178 300.2);
Tailwind
colors: {
  custom: {
    50: '#a67ed3',
    500: '#7c49bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c49bf;
$custom-light: #a67ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c49bf",
  "rgb": {
    "r": 124,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 265.932,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5238,
    "c": 0.17807,
    "h": 300.2
  },
  "luminance": 0.12812
}

Semantic roles & 50–950 ramp

primary
#7C49BF
secondary
#B5CC98
accent
#D8509D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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