#7D46E8#7D46E8

#7D46E8 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.229 H 292.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7D46E8
RGBrgb(125, 70, 232)
HSLhsl(260, 78%, 59%)
HSVhsv(260, 70%, 91%)
CMYKcmyk(46.1%, 69.8%, 0%, 9%)
CIE-LABlab(45.03, 58.17, -73.58)
CIE-LCHlch(45.03, 93.80, 308.33°)
OKLaboklab(55.19% 0.089 -0.2108)
OKLCHoklch(55.19% 0.229 292.9)
XYZxyz(25.2091, 14.5657, 77.8115)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46E8 #B1E846
analogous
#4660E8 #7D46E8 #CE46E8
triadic
#7D46E8 #E87D46 #46E87D
tetradic
#7D46E8 #E84660 #B1E846 #46E8CE
square
#7D46E8 #E84660 #B1E846 #46E8CE
split-complementary
#7D46E8 #E8CE46 #60E846
monochromatic
#4314A0 #5A1BD6 #7D46E8 #A37CEF #CAB3F6

Accessibility & contrast

On white

5.37
#7D46E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7D46E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46E8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46E8#FFFFFF#000000##FFFFFF
##7D46E81.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DED
Deuteranopia (green-blind)
#0067E5
Tritanopia (blue-blind)
#5D6F92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d46e8;
/* rgb */ color: rgb(125, 70, 232);
/* oklch */ color: oklch(55.2% 0.229 292.9);
Tailwind
colors: {
  custom: {
    50: '#ab7ef0',
    500: '#7d46e8',
    950: '#000000',
  },
}
SCSS
$custom: #7d46e8;
$custom-light: #ab7ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46e8",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 232
  },
  "hsl": {
    "h": 260.37,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55186,
    "c": 0.22886,
    "h": 292.9
  },
  "luminance": 0.14566
}

Semantic roles & 50–950 ramp

primary
#7D46E8
secondary
#CFE5A5
accent
#F433B3
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7D46E8

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

Preview Lab → · Contrast checker → · Palette generator →

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