#7C46CE#7C46CE

#7C46CE is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.0% C 0.200 H 297.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7C46CE
RGBrgb(124, 70, 206)
HSLhsl(264, 58%, 54%)
HSVhsv(264, 66%, 81%)
CMYKcmyk(39.8%, 66%, 0%, 19.2%)
CIE-LABlab(42.95, 51.24, -62.13)
CIE-LCHlch(42.95, 80.53, 309.51°)
OKLaboklab(53.05% 0.0917 -0.1772)
OKLCHoklch(53.05% 0.2 297.3)
XYZxyz(21.6401, 13.1213, 59.7731)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46CE #98CE46
analogous
#4654CE #7C46CE #C046CE
triadic
#7C46CE #CE7C46 #46CE7C
tetradic
#7C46CE #CE4654 #98CE46 #46CEC0
square
#7C46CE #CE4654 #98CE46 #46CEC0
split-complementary
#7C46CE #CEC046 #54CE46
monochromatic
#442079 #5F2DAA #7C46CE #9E76DB #C1A7E8

Accessibility & contrast

On white

5.79
#7C46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7C46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46CE
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46CE#FFFFFF#000000##FFFFFF
##7C46CE1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#686684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7c46ce;
/* rgb */ color: rgb(124, 70, 206);
/* oklch */ color: oklch(53.0% 0.200 297.3);
Tailwind
colors: {
  custom: {
    50: '#a87dde',
    500: '#7c46ce',
    950: '#000000',
  },
}
SCSS
$custom: #7c46ce;
$custom-light: #a87dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46ce",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 263.824,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5305,
    "c": 0.19953,
    "h": 297.3
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#7C46CE
secondary
#BED59B
accent
#E146A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7C46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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