#7C4BE1#7C4BE1

#7C4BE1 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.2% C 0.215 H 293.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7C4BE1
RGBrgb(124, 75, 225)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 67%, 88%)
CMYKcmyk(44.9%, 66.7%, 0%, 11.8%)
CIE-LABlab(45.29, 53.64, -69.19)
CIE-LCHlch(45.29, 87.55, 307.79°)
OKLaboklab(55.18% 0.0841 -0.198)
OKLCHoklch(55.18% 0.215 293)
XYZxyz(24.4151, 14.7527, 72.7807)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BE1 #B0E14B
analogous
#4B65E1 #7C4BE1 #C74BE1
triadic
#7C4BE1 #E17C4B #4BE17C
tetradic
#7C4BE1 #E14B65 #B0E14B #4BE1C7
square
#7C4BE1 #E14B65 #B0E14B #4BE1C7
split-complementary
#7C4BE1 #E1C74B #65E14B
monochromatic
#431998 #5A22CD #7C4BE1 #A27FEA #C8B4F2

Accessibility & contrast

On white

5.32
#7C4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7C4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BE1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BE1#FFFFFF#000000##FFFFFF
##7C4BE11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE6
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#5E7090
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4be1;
/* rgb */ color: rgb(124, 75, 225);
/* oklch */ color: oklch(55.2% 0.215 293.0);
Tailwind
colors: {
  custom: {
    50: '#aa80eb',
    500: '#7c4be1',
    950: '#000000',
  },
}
SCSS
$custom: #7c4be1;
$custom-light: #aa80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4be1",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 259.6,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.21511,
    "h": 293
  },
  "luminance": 0.14753
}

Semantic roles & 50–950 ramp

primary
#7C4BE1
secondary
#CEE1A6
accent
#EE3AB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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