#7D4BE5#7D4BE5

#7D4BE5 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.6% C 0.220 H 292.7°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7D4BE5
RGBrgb(125, 75, 229)
HSLhsl(259, 75%, 60%)
HSVhsv(259, 67%, 90%)
CMYKcmyk(45.4%, 67.2%, 0%, 10.2%)
CIE-LABlab(45.70, 54.89, -70.79)
CIE-LCHlch(45.70, 89.58, 307.79°)
OKLaboklab(55.59% 0.0849 -0.2027)
OKLCHoklch(55.59% 0.22 292.7)
XYZxyz(25.1125, 15.0485, 75.6951)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BE5 #B3E54B
analogous
#4B66E5 #7D4BE5 #CA4BE5
triadic
#7D4BE5 #E57D4B #4BE57D
tetradic
#7D4BE5 #E54B66 #B3E54B #4BE5CA
square
#7D4BE5 #E54B66 #B3E54B #4BE5CA
split-complementary
#7D4BE5 #E5CA4B #66E54B
monochromatic
#43179F #5A1FD4 #7D4BE5 #A480ED #CAB6F4

Accessibility & contrast

On white

5.24
#7D4BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7D4BE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BE5
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BE5#FFFFFF#000000##FFFFFF
##7D4BE51.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0069E2
Tritanopia (blue-blind)
#5E7192
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7d4be5;
/* rgb */ color: rgb(125, 75, 229);
/* oklch */ color: oklch(55.6% 0.220 292.7);
Tailwind
colors: {
  custom: {
    50: '#ab81ee',
    500: '#7d4be5',
    950: '#000000',
  },
}
SCSS
$custom: #7d4be5;
$custom-light: #ab81ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4be5",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 229
  },
  "hsl": {
    "h": 259.481,
    "s": 74.757,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55589,
    "c": 0.21972,
    "h": 292.7
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#7D4BE5
secondary
#D0E4A8
accent
#F136B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7D4BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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