#7C4FE3#7C4FE3

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

Color values

HEX#7C4FE3
RGBrgb(124, 79, 227)
HSLhsl(258, 73%, 60%)
HSVhsv(258, 65%, 89%)
CMYKcmyk(45.4%, 65.2%, 0%, 11%)
CIE-LABlab(46.21, 52.09, -68.84)
CIE-LCHlch(46.21, 86.33, 307.12°)
OKLaboklab(55.88% 0.0799 -0.197)
OKLCHoklch(55.88% 0.213 292.1)
XYZxyz(24.9694, 15.4223, 74.3193)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4FE3 #B6E34F
analogous
#4F6CE3 #7C4FE3 #C64FE3
triadic
#7C4FE3 #E37C4F #4FE37C
tetradic
#7C4FE3 #E34F6C #B6E34F #4FE3C6
square
#7C4FE3 #E34F6C #B6E34F #4FE3C6
split-complementary
#7C4FE3 #E3C64F #6CE34F
monochromatic
#42199E #5822D3 #7C4FE3 #A384EB #CBB9F4

Accessibility & contrast

On white

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

On black

4.08
#7C4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7C4FE3#FFFFFF#000000##FFFFFF
##7C4FE31.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#5D7392
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4fe3;
/* rgb */ color: rgb(124, 79, 227);
/* oklch */ color: oklch(55.9% 0.213 292.1);
Tailwind
colors: {
  custom: {
    50: '#aa83ed',
    500: '#7c4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #7c4fe3;
$custom-light: #aa83ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4fe3",
  "rgb": {
    "r": 124,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 258.243,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.55883,
    "c": 0.21254,
    "h": 292.1
  },
  "luminance": 0.15423
}

Semantic roles & 50–950 ramp

primary
#7C4FE3
secondary
#D2E3AA
accent
#EF39B8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #7C4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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