#7C46BF#7C46BF

#7C46BF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.182 H 300.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#7C46BF
RGBrgb(124, 70, 191)
HSLhsl(267, 49%, 51%)
HSVhsv(267, 63%, 75%)
CMYKcmyk(35.1%, 63.4%, 0%, 25.1%)
CIE-LABlab(41.89, 47.41, -55.14)
CIE-LCHlch(41.89, 72.72, 310.69°)
OKLaboklab(51.95% 0.0931 -0.1567)
OKLCHoklch(51.95% 0.182 300.7)
XYZxyz(19.9040, 12.4269, 50.6301)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46BF #89BF46
analogous
#464CBF #7C46BF #B846BF
triadic
#7C46BF #BF7C46 #46BF7C
tetradic
#7C46BF #BF464C #89BF46 #46BFB8
square
#7C46BF #BF464C #89BF46 #46BFB8
split-complementary
#7C46BF #BFB846 #4CBF46
monochromatic
#422467 #5F3394 #7C46BF #9C73CF #BCA1DE

Accessibility & contrast

On white

6.03
#7C46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7C46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46BF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46BF#FFFFFF#000000##FFFFFF
##7C46BF1.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1662BC
Tritanopia (blue-blind)
#6E607C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c46bf;
/* rgb */ color: rgb(124, 70, 191);
/* oklch */ color: oklch(52.0% 0.182 300.7);
Tailwind
colors: {
  custom: {
    50: '#a67cd3',
    500: '#7c46bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c46bf;
$custom-light: #a67cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46bf",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 266.777,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51951,
    "c": 0.18227,
    "h": 300.7
  },
  "luminance": 0.12427
}

Semantic roles & 50–950 ramp

primary
#7C46BF
secondary
#B3CB96
accent
#D8509B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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