#7D46BF#7D46BF

#7D46BF is a mid, vivid violet. Relative luminance 0.125; OKLCH L 52.1% C 0.182 H 301.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7D46BF
RGBrgb(125, 70, 191)
HSLhsl(267, 49%, 51%)
HSVhsv(267, 63%, 75%)
CMYKcmyk(34.6%, 63.4%, 0%, 25.1%)
CIE-LABlab(42.00, 47.63, -54.95)
CIE-LCHlch(42.00, 72.72, 310.92°)
OKLaboklab(52.06% 0.0945 -0.1561)
OKLCHoklch(52.06% 0.182 301.2)
XYZxyz(20.0493, 12.5018, 50.6369)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46BF #88BF46
analogous
#464BBF #7D46BF #B946BF
triadic
#7D46BF #BF7D46 #46BF7D
tetradic
#7D46BF #BF464B #88BF46 #46BFB9
square
#7D46BF #BF464B #88BF46 #46BFB9
split-complementary
#7D46BF #BFB946 #4BBF46
monochromatic
#422467 #5F3394 #7D46BF #9D73CF #BDA1DE

Accessibility & contrast

On white

6.00
#7D46BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7D46BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46BF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46BF#FFFFFF#000000##FFFFFF
##7D46BF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d46bf;
/* rgb */ color: rgb(125, 70, 191);
/* oklch */ color: oklch(52.1% 0.182 301.2);
Tailwind
colors: {
  custom: {
    50: '#a77cd3',
    500: '#7d46bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d46bf;
$custom-light: #a77cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46bf",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 267.273,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52061,
    "c": 0.18245,
    "h": 301.2
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D46BF

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

Preview Lab → · Contrast checker → · Palette generator →

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