#7C4FDE#7C4FDE

#7C4FDE is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.207 H 292.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7C4FDE
RGBrgb(124, 79, 222)
HSLhsl(259, 68%, 59%)
HSVhsv(259, 64%, 87%)
CMYKcmyk(44.1%, 64.4%, 0%, 12.9%)
CIE-LABlab(45.84, 50.75, -66.60)
CIE-LCHlch(45.84, 83.73, 307.31°)
OKLaboklab(55.5% 0.0804 -0.1904)
OKLCHoklch(55.5% 0.207 292.9)
XYZxyz(24.2894, 15.1502, 70.7376)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FDE #B1DE4F
analogous
#4F6ADE #7C4FDE #C44FDE
triadic
#7C4FDE #DE7C4F #4FDE7C
tetradic
#7C4FDE #DE4F6A #B1DE4F #4FDEC4
square
#7C4FDE #DE4F6A #B1DE4F #4FDEC4
split-complementary
#7C4FDE #DEC44F #6ADE4F
monochromatic
#431C96 #5926CA #7C4FDE #A283E8 #C9B6F1

Accessibility & contrast

On white

5.21
#7C4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7C4FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4FDE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4FDE#FFFFFF#000000##FFFFFF
##7C4FDE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#607190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4fde;
/* rgb */ color: rgb(124, 79, 222);
/* oklch */ color: oklch(55.5% 0.207 292.9);
Tailwind
colors: {
  custom: {
    50: '#a983e9',
    500: '#7c4fde',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fde;
$custom-light: #a983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fde",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 222
  },
  "hsl": {
    "h": 258.881,
    "s": 68.421,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55502,
    "c": 0.20667,
    "h": 292.9
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#7C4FDE
secondary
#CFE0A8
accent
#EB3DB4
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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