#7D4CE1#7D4CE1

#7D4CE1 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.4% C 0.214 H 293.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D4CE1
RGBrgb(125, 76, 225)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 66%, 88%)
CMYKcmyk(44.4%, 66.2%, 0%, 11.8%)
CIE-LABlab(45.59, 53.31, -68.71)
CIE-LCHlch(45.59, 86.97, 307.81°)
OKLaboklab(55.41% 0.0845 -0.1966)
OKLCHoklch(55.41% 0.214 293.3)
XYZxyz(24.6288, 14.9644, 72.8103)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CE1 #B0E14C
analogous
#4C66E1 #7D4CE1 #C84CE1
triadic
#7D4CE1 #E17D4C #4CE17D
tetradic
#7D4CE1 #E14C66 #B0E14C #4CE1C8
square
#7D4CE1 #E14C66 #B0E14C #4CE1C8
split-complementary
#7D4CE1 #E1C84C #66E14C
monochromatic
#441A99 #5B22CD #7D4CE1 #A380EA #C9B5F3

Accessibility & contrast

On white

5.26
#7D4CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#7D4CE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CE1
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CE1#FFFFFF#000000##FFFFFF
##7D4CE11.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d4ce1;
/* rgb */ color: rgb(125, 76, 225);
/* oklch */ color: oklch(55.4% 0.214 293.3);
Tailwind
colors: {
  custom: {
    50: '#aa81eb',
    500: '#7d4ce1',
    950: '#000000',
  },
}
SCSS
$custom: #7d4ce1;
$custom-light: #aa81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4ce1",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 225
  },
  "hsl": {
    "h": 259.732,
    "s": 71.292,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55412,
    "c": 0.21393,
    "h": 293.3
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D4CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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