#7D1EBB#7D1EBB

#7D1EBB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.5% C 0.222 H 306.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#7D1EBB
RGBrgb(125, 30, 187)
HSLhsl(276, 72%, 43%)
HSVhsv(276, 84%, 73%)
CMYKcmyk(33.2%, 84%, 0%, 26.7%)
CIE-LABlab(35.75, 63.50, -62.76)
CIE-LCHlch(35.75, 89.28, 315.34°)
OKLaboklab(47.53% 0.1324 -0.1788)
OKLCHoklch(47.53% 0.222 306.5)
XYZxyz(17.8894, 8.8766, 47.7750)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1EBB #5CBB1E
analogous
#2F1EBB #7D1EBB #BB1EAA
triadic
#7D1EBB #BB7D1E #1EBB7D
tetradic
#7D1EBB #BB2F1E #5CBB1E #1EAABB
square
#7D1EBB #BB2F1E #5CBB1E #1EAABB
split-complementary
#7D1EBB #AABB1E #1EBB2F
monochromatic
#360D52 #5A1686 #7D1EBB #9D37DF #B76CE7

Accessibility & contrast

On white

7.57
#7D1EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#7D1EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1EBB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1EBB#FFFFFF#000000##FFFFFF
##7D1EBB1.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#724A70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7d1ebb;
/* rgb */ color: rgb(125, 30, 187);
/* oklch */ color: oklch(47.5% 0.222 306.5);
Tailwind
colors: {
  custom: {
    50: '#a968d1',
    500: '#7d1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #7d1ebb;
$custom-light: #a968d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1ebb",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 276.306,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47532,
    "c": 0.22246,
    "h": 306.5
  },
  "luminance": 0.08876
}

Semantic roles & 50–950 ramp

primary
#7D1EBB
secondary
#90CD67
accent
#EF3981
background
#FAF6FC
surface
#F5EBF9
border
#CFC6D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7D1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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