#7D2ECF#7D2ECF

#7D2ECF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.228 H 300.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7D2ECF
RGBrgb(125, 46, 207)
HSLhsl(269, 64%, 50%)
HSVhsv(269, 78%, 81%)
CMYKcmyk(39.6%, 77.8%, 0%, 18.8%)
CIE-LABlab(39.27, 62.55, -68.69)
CIE-LCHlch(39.27, 92.90, 312.32°)
OKLaboklab(50.5% 0.1152 -0.1963)
OKLCHoklch(50.5% 0.228 300.4)
XYZxyz(20.6941, 10.8188, 60.0174)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2ECF #80CF2E
analogous
#2E30CF #7D2ECF #CE2ECF
triadic
#7D2ECF #CF7D2E #2ECF7D
tetradic
#7D2ECF #CF2E30 #80CF2E #2ECFCE
square
#7D2ECF #CF2E30 #80CF2E #2ECFCE
split-complementary
#7D2ECF #CFCE2E #30CF2E
monochromatic
#41186B #5F239D #7D2ECF #9C5FDB #BB91E7

Accessibility & contrast

On white

6.64
#7D2ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7D2ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D2ECF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2ECF#FFFFFF#000000##FFFFFF
##7D2ECF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#6A5A7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d2ecf;
/* rgb */ color: rgb(125, 46, 207);
/* oklch */ color: oklch(50.5% 0.228 300.4);
Tailwind
colors: {
  custom: {
    50: '#aa70df',
    500: '#7d2ecf',
    950: '#000000',
  },
}
SCSS
$custom: #7d2ecf;
$custom-light: #aa70df;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2ecf",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 207
  },
  "hsl": {
    "h": 269.441,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50498,
    "c": 0.2276,
    "h": 300.4
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D2ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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