#7D46D1#7D46D1

#7D46D1 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.203 H 297.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7D46D1
RGBrgb(125, 70, 209)
HSLhsl(264, 60%, 55%)
HSVhsv(264, 67%, 82%)
CMYKcmyk(40.2%, 66.5%, 0%, 18%)
CIE-LABlab(43.28, 52.21, -63.32)
CIE-LCHlch(43.28, 82.07, 309.51°)
OKLaboklab(53.38% 0.0927 -0.1807)
OKLCHoklch(53.38% 0.203 297.1)
XYZxyz(22.1533, 13.3433, 61.7176)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46D1 #9AD146
analogous
#4655D1 #7D46D1 #C246D1
triadic
#7D46D1 #D17D46 #46D17D
tetradic
#7D46D1 #D14655 #9AD146 #46D1C2
square
#7D46D1 #D14655 #9AD146 #46D1C2
split-complementary
#7D46D1 #D1C246 #55D146
monochromatic
#441F7D #5F2BAE #7D46D1 #9F77DD #C2A8E9

Accessibility & contrast

On white

5.72
#7D46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7D46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46D1
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46D1#FFFFFF#000000##FFFFFF
##7D46D11.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#686786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d46d1;
/* rgb */ color: rgb(125, 70, 209);
/* oklch */ color: oklch(53.4% 0.203 297.1);
Tailwind
colors: {
  custom: {
    50: '#a97de0',
    500: '#7d46d1',
    950: '#000000',
  },
}
SCSS
$custom: #7d46d1;
$custom-light: #a97de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46d1",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 263.741,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53382,
    "c": 0.20306,
    "h": 297.1
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#7D46D1
secondary
#C0D79C
accent
#E344A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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