#7C4BE0#7C4BE0

#7C4BE0 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.214 H 293.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7C4BE0
RGBrgb(124, 75, 224)
HSLhsl(260, 71%, 59%)
HSVhsv(260, 67%, 88%)
CMYKcmyk(44.6%, 66.5%, 0%, 12.2%)
CIE-LABlab(45.22, 53.38, -68.75)
CIE-LCHlch(45.22, 87.04, 307.83°)
OKLaboklab(55.1% 0.0842 -0.1967)
OKLCHoklch(55.1% 0.214 293.2)
XYZxyz(24.2791, 14.6983, 72.0644)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BE0 #AFE04B
analogous
#4B64E0 #7C4BE0 #C74BE0
triadic
#7C4BE0 #E07C4B #4BE07C
tetradic
#7C4BE0 #E04B64 #AFE04B #4BE0C7
square
#7C4BE0 #E04B64 #AFE04B #4BE0C7
split-complementary
#7C4BE0 #E0C74B #64E04B
monochromatic
#431A97 #5A23CB #7C4BE0 #A27FE9 #C8B3F2

Accessibility & contrast

On white

5.33
#7C4BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7C4BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BE0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BE0#FFFFFF#000000##FFFFFF
##7C4BE01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE5
Deuteranopia (green-blind)
#0068DD
Tritanopia (blue-blind)
#5F6F8F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7c4be0;
/* rgb */ color: rgb(124, 75, 224);
/* oklch */ color: oklch(55.1% 0.214 293.2);
Tailwind
colors: {
  custom: {
    50: '#a980eb',
    500: '#7c4be0',
    950: '#000000',
  },
}
SCSS
$custom: #7c4be0;
$custom-light: #a980eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4be0",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 224
  },
  "hsl": {
    "h": 259.732,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55101,
    "c": 0.21396,
    "h": 293.2
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

primary
#7C4BE0
secondary
#CDE1A6
accent
#ED3AB3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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