#7C4BE7#7C4BE7

#7C4BE7 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.222 H 292.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7C4BE7
RGBrgb(124, 75, 231)
HSLhsl(259, 76%, 60%)
HSVhsv(259, 68%, 91%)
CMYKcmyk(46.3%, 67.5%, 0%, 9.4%)
CIE-LABlab(45.75, 55.24, -71.85)
CIE-LCHlch(45.75, 90.63, 307.56°)
OKLaboklab(55.65% 0.0832 -0.2058)
OKLCHoklch(55.65% 0.222 292)
XYZxyz(25.2480, 15.0859, 77.1674)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BE7 #B6E74B
analogous
#4B68E7 #7C4BE7 #CA4BE7
triadic
#7C4BE7 #E77C4B #4BE77C
tetradic
#7C4BE7 #E74B68 #B6E74B #4BE7CA
square
#7C4BE7 #E74B68 #B6E74B #4BE7CA
split-complementary
#7C4BE7 #E7CA4B #68E74B
monochromatic
#4216A2 #581DD8 #7C4BE7 #A381EE #CBB7F5

Accessibility & contrast

On white

5.23
#7C4BE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7C4BE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BE7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BE7#FFFFFF#000000##FFFFFF
##7C4BE71.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEC
Deuteranopia (green-blind)
#0069E4
Tritanopia (blue-blind)
#5B7293
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7c4be7;
/* rgb */ color: rgb(124, 75, 231);
/* oklch */ color: oklch(55.6% 0.222 292.0);
Tailwind
colors: {
  custom: {
    50: '#aa81f0',
    500: '#7c4be7',
    950: '#000000',
  },
}
SCSS
$custom: #7c4be7;
$custom-light: #aa81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4be7",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 231
  },
  "hsl": {
    "h": 258.846,
    "s": 76.471,
    "l": 60
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.22198,
    "h": 292
  },
  "luminance": 0.15087
}

Semantic roles & 50–950 ramp

primary
#7C4BE7
secondary
#D2E5A9
accent
#F335B7
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7C4BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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