#7D2ECE#7D2ECE

#7D2ECE is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.4% C 0.227 H 300.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7D2ECE
RGBrgb(125, 46, 206)
HSLhsl(270, 63%, 49%)
HSVhsv(270, 78%, 81%)
CMYKcmyk(39.3%, 77.7%, 0%, 19.2%)
CIE-LABlab(39.19, 62.32, -68.24)
CIE-LCHlch(39.19, 92.41, 312.40°)
OKLaboklab(50.42% 0.1154 -0.195)
OKLCHoklch(50.42% 0.227 300.6)
XYZxyz(20.5723, 10.7700, 59.3755)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2ECE #7FCE2E
analogous
#2E2FCE #7D2ECE #CD2ECE
triadic
#7D2ECE #CE7D2E #2ECE7D
tetradic
#7D2ECE #CE2E2F #7FCE2E #2ECECD
square
#7D2ECE #CE2E2F #7FCE2E #2ECECD
split-complementary
#7D2ECE #CECD2E #2FCE2E
monochromatic
#40186A #5F239C #7D2ECE #9C5EDB #BB90E6

Accessibility & contrast

On white

6.66
#7D2ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D2ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2ECE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2ECE#FFFFFF#000000##FFFFFF
##7D2ECE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD2
Deuteranopia (green-blind)
#005BCB
Tritanopia (blue-blind)
#6A597E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d2ece;
/* rgb */ color: rgb(125, 46, 206);
/* oklch */ color: oklch(50.4% 0.227 300.6);
Tailwind
colors: {
  custom: {
    50: '#aa70de',
    500: '#7d2ece',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ece;
$custom-light: #aa70de;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ece",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 206
  },
  "hsl": {
    "h": 269.625,
    "s": 63.492,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50415,
    "c": 0.22662,
    "h": 300.6
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#7D2ECE
secondary
#ACD187
accent
#E74195
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7D2ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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