#7D4BE2#7D4BE2

#7D4BE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.216 H 293.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7D4BE2
RGBrgb(125, 75, 226)
HSLhsl(260, 72%, 59%)
HSVhsv(260, 67%, 89%)
CMYKcmyk(44.7%, 66.8%, 0%, 11.4%)
CIE-LABlab(45.47, 54.09, -69.46)
CIE-LCHlch(45.47, 88.04, 307.91°)
OKLaboklab(55.36% 0.0853 -0.1988)
OKLCHoklch(55.36% 0.216 293.2)
XYZxyz(24.6972, 14.8824, 73.5081)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BE2 #B0E24B
analogous
#4B65E2 #7D4BE2 #C94BE2
triadic
#7D4BE2 #E27D4B #4BE27D
tetradic
#7D4BE2 #E24B65 #B0E24B #4BE2C9
square
#7D4BE2 #E24B65 #B0E24B #4BE2C9
split-complementary
#7D4BE2 #E2C94B #65E24B
monochromatic
#44199A #5B21CF #7D4BE2 #A380EA #C9B4F3

Accessibility & contrast

On white

5.28
#7D4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7D4BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BE2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BE2#FFFFFF#000000##FFFFFF
##7D4BE21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#607090
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4be2;
/* rgb */ color: rgb(125, 75, 226);
/* oklch */ color: oklch(55.4% 0.216 293.2);
Tailwind
colors: {
  custom: {
    50: '#aa80ec',
    500: '#7d4be2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4be2;
$custom-light: #aa80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4be2",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 259.868,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55355,
    "c": 0.2163,
    "h": 293.2
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#7D4BE2
secondary
#CEE2A7
accent
#EF39B3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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