#7D46CE#7D46CE

#7D46CE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.2% C 0.200 H 297.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7D46CE
RGBrgb(125, 70, 206)
HSLhsl(264, 58%, 54%)
HSVhsv(264, 66%, 81%)
CMYKcmyk(39.3%, 66%, 0%, 19.2%)
CIE-LABlab(43.06, 51.44, -61.94)
CIE-LCHlch(43.06, 80.52, 309.70°)
OKLaboklab(53.16% 0.093 -0.1766)
OKLCHoklch(53.16% 0.2 297.8)
XYZxyz(21.7853, 13.1962, 59.7799)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46CE #97CE46
analogous
#4653CE #7D46CE #C146CE
triadic
#7D46CE #CE7D46 #46CE7D
tetradic
#7D46CE #CE4653 #97CE46 #46CEC1
square
#7D46CE #CE4653 #97CE46 #46CEC1
split-complementary
#7D46CE #CEC146 #53CE46
monochromatic
#442079 #5F2DAA #7D46CE #9F76DB #C1A7E8

Accessibility & contrast

On white

5.77
#7D46CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7D46CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46CE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46CE#FFFFFF#000000##FFFFFF
##7D46CE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d46ce;
/* rgb */ color: rgb(125, 70, 206);
/* oklch */ color: oklch(53.2% 0.200 297.8);
Tailwind
colors: {
  custom: {
    50: '#a97dde',
    500: '#7d46ce',
    950: '#000000',
  },
}
SCSS
$custom: #7d46ce;
$custom-light: #a97dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46ce",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 264.265,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53156,
    "c": 0.19965,
    "h": 297.8
  },
  "luminance": 0.13197
}

Semantic roles & 50–950 ramp

primary
#7D46CE
secondary
#BDD59B
accent
#E146A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D46CE

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

Preview Lab → · Contrast checker → · Palette generator →

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