#7D4BD2#7D4BD2

#7D4BD2 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.1% C 0.198 H 296.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#7D4BD2
RGBrgb(125, 75, 210)
HSLhsl(262, 60%, 56%)
HSVhsv(262, 64%, 82%)
CMYKcmyk(40.5%, 64.3%, 0%, 17.6%)
CIE-LABlab(44.30, 49.87, -62.24)
CIE-LCHlch(44.30, 79.76, 308.71°)
OKLaboklab(54.14% 0.0872 -0.1775)
OKLCHoklch(54.14% 0.198 296.2)
XYZxyz(22.6033, 14.0448, 62.4803)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4BD2 #A0D24B
analogous
#4B5CD2 #7D4BD2 #C04BD2
triadic
#7D4BD2 #D27D4B #4BD27D
tetradic
#7D4BD2 #D24B5C #A0D24B #4BD2C0
square
#7D4BD2 #D24B5C #A0D24B #4BD2C0
split-complementary
#7D4BD2 #D2C04B #5CD24B
monochromatic
#452182 #5E2DB3 #7D4BD2 #A07CDE #C4ADEA

Accessibility & contrast

On white

5.51
#7D4BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#7D4BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4BD2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4BD2#FFFFFF#000000##FFFFFF
##7D4BD21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#676A88
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4bd2;
/* rgb */ color: rgb(125, 75, 210);
/* oklch */ color: oklch(54.1% 0.198 296.2);
Tailwind
colors: {
  custom: {
    50: '#a980e1',
    500: '#7d4bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7d4bd2;
$custom-light: #a980e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4bd2",
  "rgb": {
    "r": 125,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 262.222,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5414,
    "c": 0.1978,
    "h": 296.2
  },
  "luminance": 0.14045
}

Semantic roles & 50–950 ramp

primary
#7D4BD2
secondary
#C4D8A0
accent
#E345A8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D4BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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