#7C2ED0#7C2ED0

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

Color values

HEX#7C2ED0
RGBrgb(124, 46, 208)
HSLhsl(269, 64%, 50%)
HSVhsv(269, 78%, 82%)
CMYKcmyk(40.4%, 77.9%, 0%, 18.4%)
CIE-LABlab(39.23, 62.63, -69.34)
CIE-LCHlch(39.23, 93.44, 312.09°)
OKLaboklab(50.47% 0.1134 -0.1983)
OKLCHoklch(50.47% 0.228 299.8)
XYZxyz(20.6715, 10.7929, 60.6564)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2ED0 #82D02E
analogous
#2E31D0 #7C2ED0 #CD2ED0
triadic
#7C2ED0 #D07C2E #2ED07C
tetradic
#7C2ED0 #D02E31 #82D02E #2ED0CD
square
#7C2ED0 #D02E31 #82D02E #2ED0CD
split-complementary
#7C2ED0 #D0CD2E #31D02E
monochromatic
#40186C #5E239E #7C2ED0 #9B5FDC #BB92E7

Accessibility & contrast

On white

6.65
#7C2ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7C2ED0
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2ED0#FFFFFF#000000##FFFFFF
##7C2ED01.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2ed0;
/* rgb */ color: rgb(124, 46, 208);
/* oklch */ color: oklch(50.5% 0.228 299.8);
Tailwind
colors: {
  custom: {
    50: '#a970e0',
    500: '#7c2ed0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2ed0;
$custom-light: #a970e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2ed0",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 268.889,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50466,
    "c": 0.22844,
    "h": 299.8
  },
  "luminance": 0.10793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C2ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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