#7D46BC#7D46BC

#7D46BC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.179 H 301.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7D46BC
RGBrgb(125, 70, 188)
HSLhsl(268, 47%, 51%)
HSVhsv(268, 63%, 74%)
CMYKcmyk(33.5%, 62.8%, 0%, 26.3%)
CIE-LABlab(41.80, 46.88, -53.52)
CIE-LCHlch(41.80, 71.15, 311.21°)
OKLaboklab(51.85% 0.0947 -0.1519)
OKLCHoklch(51.85% 0.179 301.9)
XYZxyz(19.7226, 12.3711, 48.9160)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46BC #85BC46
analogous
#464ABC #7D46BC #B846BC
triadic
#7D46BC #BC7D46 #46BC7D
tetradic
#7D46BC #BC464A #85BC46 #46BCB8
square
#7D46BC #BC464A #85BC46 #46BCB8
split-complementary
#7D46BC #BCB846 #4ABC46
monochromatic
#422464 #5F3490 #7D46BC #9D73CC #BCA0DD

Accessibility & contrast

On white

6.04
#7D46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D46BC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46BC#FFFFFF#000000##FFFFFF
##7D46BC1.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#1F62B9
Tritanopia (blue-blind)
#705F7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d46bc;
/* rgb */ color: rgb(125, 70, 188);
/* oklch */ color: oklch(51.8% 0.179 301.9);
Tailwind
colors: {
  custom: {
    50: '#a77cd1',
    500: '#7d46bc',
    950: '#000000',
  },
}
SCSS
$custom: #7d46bc;
$custom-light: #a77cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46bc",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 267.966,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5185,
    "c": 0.17897,
    "h": 301.9
  },
  "luminance": 0.12371
}

Semantic roles & 50–950 ramp

primary
#7D46BC
secondary
#B1C995
accent
#D65198
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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