#7D4BE7#7D4BE7

#7D4BE7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.222 H 292.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7D4BE7
RGBrgb(125, 75, 231)
HSLhsl(259, 76%, 60%)
HSVhsv(259, 68%, 91%)
CMYKcmyk(45.9%, 67.5%, 0%, 9.4%)
CIE-LABlab(45.85, 55.42, -71.68)
CIE-LCHlch(45.85, 90.60, 307.71°)
OKLaboklab(55.75% 0.0846 -0.2053)
OKLCHoklch(55.75% 0.222 292.4)
XYZxyz(25.3933, 15.1608, 77.1742)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BE7 #B5E74B
analogous
#4B67E7 #7D4BE7 #CB4BE7
triadic
#7D4BE7 #E77D4B #4BE77D
tetradic
#7D4BE7 #E74B67 #B5E74B #4BE7CB
square
#7D4BE7 #E74B67 #B5E74B #4BE7CB
split-complementary
#7D4BE7 #E7CB4B #67E74B
monochromatic
#4316A2 #591DD8 #7D4BE7 #A481EE #CBB7F5

Accessibility & contrast

On white

5.21
#7D4BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7D4BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BE7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BE7#FFFFFF#000000##FFFFFF
##7D4BE71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#5D7293
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7d4be7;
/* rgb */ color: rgb(125, 75, 231);
/* oklch */ color: oklch(55.7% 0.222 292.4);
Tailwind
colors: {
  custom: {
    50: '#ab81f0',
    500: '#7d4be7',
    950: '#000000',
  },
}
SCSS
$custom: #7d4be7;
$custom-light: #ab81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4be7",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 259.231,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.55747,
    "c": 0.222,
    "h": 292.4
  },
  "luminance": 0.15162
}

Semantic roles & 50–950 ramp

primary
#7D4BE7
secondary
#D2E5A9
accent
#F335B6
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7D4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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