#7C46BD#7C46BD

#7C46BD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.180 H 301.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7C46BD
RGBrgb(124, 70, 189)
HSLhsl(267, 47%, 51%)
HSVhsv(267, 63%, 74%)
CMYKcmyk(34.4%, 63%, 0%, 25.9%)
CIE-LABlab(41.75, 46.90, -54.19)
CIE-LCHlch(41.75, 71.67, 310.88°)
OKLaboklab(51.81% 0.0933 -0.1539)
OKLCHoklch(51.81% 0.18 301.2)
XYZxyz(19.6855, 12.3394, 49.4789)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46BD #87BD46
analogous
#464BBD #7C46BD #B746BD
triadic
#7C46BD #BD7C46 #46BD7C
tetradic
#7C46BD #BD464B #87BD46 #46BDB7
square
#7C46BD #BD464B #87BD46 #46BDB7
split-complementary
#7C46BD #BDB746 #4BBD46
monochromatic
#412465 #5F3492 #7C46BD #9C73CD #BCA0DD

Accessibility & contrast

On white

6.06
#7C46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7C46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46BD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46BD#FFFFFF#000000##FFFFFF
##7C46BD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#6E607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c46bd;
/* rgb */ color: rgb(124, 70, 189);
/* oklch */ color: oklch(51.8% 0.180 301.2);
Tailwind
colors: {
  custom: {
    50: '#a67cd2',
    500: '#7c46bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c46bd;
$custom-light: #a67cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46bd",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 267.227,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51809,
    "c": 0.17995,
    "h": 301.2
  },
  "luminance": 0.1234
}

Semantic roles & 50–950 ramp

primary
#7C46BD
secondary
#B2CA95
accent
#D7519A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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