#7D46BE#7D46BE

#7D46BE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.0% C 0.181 H 301.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#7D46BE
RGBrgb(125, 70, 190)
HSLhsl(268, 48%, 51%)
HSVhsv(268, 63%, 75%)
CMYKcmyk(34.2%, 63.2%, 0%, 25.5%)
CIE-LABlab(41.93, 47.38, -54.47)
CIE-LCHlch(41.93, 72.19, 311.01°)
OKLaboklab(51.99% 0.0946 -0.1547)
OKLCHoklch(51.99% 0.181 301.4)
XYZxyz(19.9397, 12.4579, 50.0593)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46BE #87BE46
analogous
#464BBE #7D46BE #B946BE
triadic
#7D46BE #BE7D46 #46BE7D
tetradic
#7D46BE #BE464B #87BE46 #46BEB9
square
#7D46BE #BE464B #87BE46 #46BEB9
split-complementary
#7D46BE #BEB946 #4BBE46
monochromatic
#422466 #5F3493 #7D46BE #9D73CE #BDA1DE

Accessibility & contrast

On white

6.01
#7D46BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D46BE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46BE#FFFFFF#000000##FFFFFF
##7D46BE1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#1B62BB
Tritanopia (blue-blind)
#70607B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d46be;
/* rgb */ color: rgb(125, 70, 190);
/* oklch */ color: oklch(52.0% 0.181 301.4);
Tailwind
colors: {
  custom: {
    50: '#a77cd2',
    500: '#7d46be',
    950: '#000000',
  },
}
SCSS
$custom: #7d46be;
$custom-light: #a77cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46be",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 267.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.18129,
    "h": 301.4
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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