#7D2ED0#7D2ED0

#7D2ED0 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.229 H 300.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7D2ED0
RGBrgb(125, 46, 208)
HSLhsl(269, 64%, 50%)
HSVhsv(269, 78%, 82%)
CMYKcmyk(39.9%, 77.9%, 0%, 18.4%)
CIE-LABlab(39.36, 62.78, -69.13)
CIE-LCHlch(39.36, 93.38, 312.25°)
OKLaboklab(50.58% 0.1149 -0.1976)
OKLCHoklch(50.58% 0.229 300.2)
XYZxyz(20.8168, 10.8678, 60.6632)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2ED0 #81D02E
analogous
#2E30D0 #7D2ED0 #CE2ED0
triadic
#7D2ED0 #D07D2E #2ED07D
tetradic
#7D2ED0 #D02E30 #81D02E #2ED0CE
square
#7D2ED0 #D02E30 #81D02E #2ED0CE
split-complementary
#7D2ED0 #D0CE2E #30D02E
monochromatic
#41186C #5F239E #7D2ED0 #9C5FDC #BB92E7

Accessibility & contrast

On white

6.62
#7D2ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7D2ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2ED0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2ED0#FFFFFF#000000##FFFFFF
##7D2ED01.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD4
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#695A7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d2ed0;
/* rgb */ color: rgb(125, 46, 208);
/* oklch */ color: oklch(50.6% 0.229 300.2);
Tailwind
colors: {
  custom: {
    50: '#aa70e0',
    500: '#7d2ed0',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ed0;
$custom-light: #aa70e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ed0",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 269.259,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50582,
    "c": 0.22858,
    "h": 300.2
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#7D2ED0
secondary
#AED288
accent
#E74196
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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