#7C4DBF#7C4DBF

#7C4DBF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.172 H 299.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#7C4DBF
RGBrgb(124, 77, 191)
HSLhsl(265, 47%, 53%)
HSVhsv(265, 60%, 75%)
CMYKcmyk(35.1%, 59.7%, 0%, 25.1%)
CIE-LABlab(43.29, 43.64, -52.88)
CIE-LCHlch(43.29, 68.56, 309.53°)
OKLaboklab(52.97% 0.0848 -0.15)
OKLCHoklch(52.97% 0.172 299.5)
XYZxyz(20.3677, 13.3542, 50.7847)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4DBF #90BF4D
analogous
#4D57BF #7C4DBF #B54DBF
triadic
#7C4DBF #BF7C4D #4DBF7C
tetradic
#7C4DBF #BF4D57 #90BF4D #4DBFB5
square
#7C4DBF #BF4D57 #90BF4D #4DBFB5
split-complementary
#7C4DBF #BFB54D #57BF4D
monochromatic
#43276B #5F3798 #7C4DBF #9D7ACF #BEA7DF

Accessibility & contrast

On white

5.72
#7C4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7C4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4DBF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4DBF#FFFFFF#000000##FFFFFF
##7C4DBF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0766C3
Deuteranopia (green-blind)
#2665BC
Tritanopia (blue-blind)
#6D657F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7c4dbf;
/* rgb */ color: rgb(124, 77, 191);
/* oklch */ color: oklch(53.0% 0.172 299.5);
Tailwind
colors: {
  custom: {
    50: '#a681d3',
    500: '#7c4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #7c4dbf;
$custom-light: #a681d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4dbf",
  "rgb": {
    "r": 124,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 264.737,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52973,
    "c": 0.17234,
    "h": 299.5
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#7C4DBF
secondary
#B8CD9B
accent
#D751A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7C4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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