#7C4ADF#7C4ADF

#7C4ADF is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.214 H 293.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7C4ADF
RGBrgb(124, 74, 223)
HSLhsl(260, 70%, 58%)
HSVhsv(260, 67%, 87%)
CMYKcmyk(44.4%, 66.8%, 0%, 12.5%)
CIE-LABlab(44.96, 53.63, -68.61)
CIE-LCHlch(44.96, 87.08, 308.01°)
OKLaboklab(54.89% 0.0853 -0.1963)
OKLCHoklch(54.89% 0.214 293.5)
XYZxyz(24.0766, 14.5097, 71.3298)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4ADF #ADDF4A
analogous
#4A62DF #7C4ADF #C64ADF
triadic
#7C4ADF #DF7C4A #4ADF7C
tetradic
#7C4ADF #DF4A62 #ADDF4A #4ADFC6
square
#7C4ADF #DF4A62 #ADDF4A #4ADFC6
split-complementary
#7C4ADF #DFC64A #62DF4A
monochromatic
#431A94 #5B23C8 #7C4ADF #A27EE8 #C7B2F1

Accessibility & contrast

On white

5.38
#7C4ADF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#7C4ADF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4ADF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4ADF#FFFFFF#000000##FFFFFF
##7C4ADF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE4
Deuteranopia (green-blind)
#0068DC
Tritanopia (blue-blind)
#606E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4adf;
/* rgb */ color: rgb(124, 74, 223);
/* oklch */ color: oklch(54.9% 0.214 293.5);
Tailwind
colors: {
  custom: {
    50: '#a980ea',
    500: '#7c4adf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4adf;
$custom-light: #a980ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4adf",
  "rgb": {
    "r": 124,
    "g": 74,
    "b": 223
  },
  "hsl": {
    "h": 260.134,
    "s": 69.953,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.21402,
    "h": 293.5
  },
  "luminance": 0.1451
}

Semantic roles & 50–950 ramp

primary
#7C4ADF
secondary
#CCE0A5
accent
#ED3BB1
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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