#7C4DDF#7C4DDF

#7C4DDF is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.3% C 0.210 H 293.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7C4DDF
RGBrgb(124, 77, 223)
HSLhsl(259, 70%, 59%)
HSVhsv(259, 65%, 87%)
CMYKcmyk(44.4%, 65.5%, 0%, 12.5%)
CIE-LABlab(45.52, 52.07, -67.68)
CIE-LCHlch(45.52, 85.39, 307.57°)
OKLaboklab(55.3% 0.0824 -0.1936)
OKLCHoklch(55.3% 0.21 293)
XYZxyz(24.2817, 14.9198, 71.3982)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DDF #B0DF4D
analogous
#4D67DF #7C4DDF #C54DDF
triadic
#7C4DDF #DF7C4D #4DDF7C
tetradic
#7C4DDF #DF4D67 #B0DF4D #4DDFC5
square
#7C4DDF #DF4D67 #B0DF4D #4DDFC5
split-complementary
#7C4DDF #DFC54D #67DF4D
monochromatic
#431B97 #5A24CA #7C4DDF #A281E8 #C8B5F2

Accessibility & contrast

On white

5.27
#7C4DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7C4DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DDF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DDF#FFFFFF#000000##FFFFFF
##7C4DDF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#0069DC
Tritanopia (blue-blind)
#5F708F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4ddf;
/* rgb */ color: rgb(124, 77, 223);
/* oklch */ color: oklch(55.3% 0.210 293.0);
Tailwind
colors: {
  custom: {
    50: '#a982ea',
    500: '#7c4ddf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4ddf;
$custom-light: #a982ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4ddf",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 259.315,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.21035,
    "h": 293
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#7C4DDF
secondary
#CEE1A7
accent
#EC3BB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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