#7D46C8#7D46C8

#7D46C8 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.193 H 299.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7D46C8
RGBrgb(125, 70, 200)
HSLhsl(265, 54%, 53%)
HSVhsv(265, 65%, 78%)
CMYKcmyk(37.5%, 65%, 0%, 21.6%)
CIE-LABlab(42.63, 49.90, -59.17)
CIE-LCHlch(42.63, 77.41, 310.14°)
OKLaboklab(52.71% 0.0937 -0.1685)
OKLCHoklch(52.71% 0.193 299.1)
XYZxyz(21.0703, 12.9102, 56.0142)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46C8 #91C846
analogous
#4650C8 #7D46C8 #BE46C8
triadic
#7D46C8 #C87D46 #46C87D
tetradic
#7D46C8 #C84650 #91C846 #46C8BE
square
#7D46C8 #C84650 #91C846 #46C8BE
split-complementary
#7D46C8 #C8BE46 #50C846
monochromatic
#442272 #6030A1 #7D46C8 #9E75D6 #BFA4E4

Accessibility & contrast

On white

5.86
#7D46C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7D46C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46C8#FFFFFF#000000##FFFFFF
##7D46C81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#6C6481
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7d46c8;
/* rgb */ color: rgb(125, 70, 200);
/* oklch */ color: oklch(52.7% 0.193 299.1);
Tailwind
colors: {
  custom: {
    50: '#a87dda',
    500: '#7d46c8',
    950: '#000000',
  },
}
SCSS
$custom: #7d46c8;
$custom-light: #a87dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46c8",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 265.385,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.19279,
    "h": 299.1
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#7D46C8
secondary
#B9D199
accent
#DE4A9F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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