#7C4CF5#7C4CF5

#7C4CF5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.237 H 289.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7C4CF5
RGBrgb(124, 76, 245)
HSLhsl(257, 89%, 63%)
HSVhsv(257, 69%, 96%)
CMYKcmyk(49.4%, 69%, 0%, 3.9%)
CIE-LABlab(47.03, 58.49, -77.63)
CIE-LCHlch(47.03, 97.20, 307.00°)
OKLaboklab(56.91% 0.08 -0.2228)
OKLCHoklch(56.91% 0.237 289.7)
XYZxyz(27.3733, 16.0454, 88.0232)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4CF5 #C5F54C
analogous
#4C71F5 #7C4CF5 #D04CF5
triadic
#7C4CF5 #F57C4C #4CF57C
tetradic
#7C4CF5 #F54C71 #C5F54C #4CF5D0
square
#7C4CF5 #F54C71 #C5F54C #4CF5D0
split-complementary
#7C4CF5 #F5D04C #71F54C
monochromatic
#3D0BBC #5212F2 #7C4CF5 #A686F8 #D1C0FB

Accessibility & contrast

On white

4.99
#7C4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7C4CF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4CF5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4CF5#FFFFFF#000000##FFFFFF
##7C4CF51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#52789B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7c4cf5;
/* rgb */ color: rgb(124, 76, 245);
/* oklch */ color: oklch(56.9% 0.237 289.7);
Tailwind
colors: {
  custom: {
    50: '#ac82fa',
    500: '#7c4cf5',
    950: '#000000',
  },
}
SCSS
$custom: #7c4cf5;
$custom-light: #ac82fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4cf5",
  "rgb": {
    "r": 124,
    "g": 76,
    "b": 245
  },
  "hsl": {
    "h": 257.041,
    "s": 89.418,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56907,
    "c": 0.23671,
    "h": 289.7
  },
  "luminance": 0.16047
}

Semantic roles & 50–950 ramp

primary
#7C4CF5
secondary
#DCEDB0
accent
#E600A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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