#7C51DE#7C51DE

#7C51DE is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.8% C 0.204 H 292.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C51DE
RGBrgb(124, 81, 222)
HSLhsl(258, 68%, 59%)
HSVhsv(258, 64%, 87%)
CMYKcmyk(44.1%, 63.5%, 0%, 12.9%)
CIE-LABlab(46.24, 49.68, -65.96)
CIE-LCHlch(46.24, 82.57, 306.99°)
OKLaboklab(55.79% 0.0784 -0.1885)
OKLCHoklch(55.79% 0.204 292.6)
XYZxyz(24.4358, 15.4431, 70.7864)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C51DE #B3DE51
analogous
#516DDE #7C51DE #C351DE
triadic
#7C51DE #DE7C51 #51DE7C
tetradic
#7C51DE #DE516D #B3DE51 #51DEC3
square
#7C51DE #DE516D #B3DE51 #51DEC3
split-complementary
#7C51DE #DEC351 #6DDE51
monochromatic
#421D98 #5927CB #7C51DE #A384E8 #C9B8F2

Accessibility & contrast

On white

5.14
#7C51DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7C51DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C51DE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C51DE#FFFFFF#000000##FFFFFF
##7C51DE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006BDB
Tritanopia (blue-blind)
#607290
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7c51de;
/* rgb */ color: rgb(124, 81, 222);
/* oklch */ color: oklch(55.8% 0.204 292.6);
Tailwind
colors: {
  custom: {
    50: '#a984e9',
    500: '#7c51de',
    950: '#000000',
  },
}
SCSS
$custom: #7c51de;
$custom-light: #a984e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c51de",
  "rgb": {
    "r": 124,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 258.298,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.20413,
    "h": 292.6
  },
  "luminance": 0.15444
}

Semantic roles & 50–950 ramp

primary
#7C51DE
secondary
#D0E1AA
accent
#EB3DB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C51DE

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

Preview Lab → · Contrast checker → · Palette generator →

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