#7C4BDD#7C4BDD

#7C4BDD is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.9% C 0.211 H 293.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7C4BDD
RGBrgb(124, 75, 221)
HSLhsl(260, 68%, 58%)
HSVhsv(260, 66%, 87%)
CMYKcmyk(43.9%, 66.1%, 0%, 13.3%)
CIE-LABlab(44.99, 52.58, -67.40)
CIE-LCHlch(44.99, 85.49, 307.96°)
OKLaboklab(54.87% 0.0846 -0.1927)
OKLCHoklch(54.87% 0.211 293.7)
XYZxyz(23.8759, 14.5370, 69.9405)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BDD #ACDD4B
analogous
#4B63DD #7C4BDD #C54BDD
triadic
#7C4BDD #DD7C4B #4BDD7C
tetradic
#7C4BDD #DD4B63 #ACDD4B #4BDDC5
square
#7C4BDD #DD4B63 #ACDD4B #4BDDC5
split-complementary
#7C4BDD #DDC54B #63DD4B
monochromatic
#431C92 #5B25C5 #7C4BDD #A17EE7 #C7B2F0

Accessibility & contrast

On white

5.37
#7C4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7C4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BDD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BDD#FFFFFF#000000##FFFFFF
##7C4BDD1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#616E8E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4bdd;
/* rgb */ color: rgb(124, 75, 221);
/* oklch */ color: oklch(54.9% 0.211 293.7);
Tailwind
colors: {
  custom: {
    50: '#a980e9',
    500: '#7c4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bdd;
$custom-light: #a980e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bdd",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 260.137,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.21051,
    "h": 293.7
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#7C4BDD
secondary
#CBDFA5
accent
#EB3DB1
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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