#7D4BE1#7D4BE1

#7D4BE1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.3% C 0.215 H 293.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D4BE1
RGBrgb(125, 75, 225)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 67%, 88%)
CMYKcmyk(44.4%, 66.7%, 0%, 11.8%)
CIE-LABlab(45.40, 53.83, -69.02)
CIE-LCHlch(45.40, 87.53, 307.95°)
OKLaboklab(55.28% 0.0854 -0.1975)
OKLCHoklch(55.28% 0.215 293.4)
XYZxyz(24.5604, 14.8276, 72.7875)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BE1 #AFE14B
analogous
#4B64E1 #7D4BE1 #C84BE1
triadic
#7D4BE1 #E17D4B #4BE17D
tetradic
#7D4BE1 #E14B64 #AFE14B #4BE1C8
square
#7D4BE1 #E14B64 #AFE14B #4BE1C8
split-complementary
#7D4BE1 #E1C84B #64E14B
monochromatic
#441998 #5B22CD #7D4BE1 #A37FEA #C9B4F2

Accessibility & contrast

On white

5.30
#7D4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7D4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BE1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BE1#FFFFFF#000000##FFFFFF
##7D4BE11.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0069DE
Tritanopia (blue-blind)
#607090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d4be1;
/* rgb */ color: rgb(125, 75, 225);
/* oklch */ color: oklch(55.3% 0.215 293.4);
Tailwind
colors: {
  custom: {
    50: '#aa80eb',
    500: '#7d4be1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4be1;
$custom-light: #aa80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4be1",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 260,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55277,
    "c": 0.21515,
    "h": 293.4
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#7D4BE1
secondary
#CEE1A6
accent
#EE3AB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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