#7C4BDB#7C4BDB

#7C4BDB is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.7% C 0.208 H 294.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7C4BDB
RGBrgb(124, 75, 219)
HSLhsl(260, 67%, 58%)
HSVhsv(260, 66%, 86%)
CMYKcmyk(43.4%, 65.8%, 0%, 14.1%)
CIE-LABlab(44.84, 52.05, -66.51)
CIE-LCHlch(44.84, 84.45, 308.05°)
OKLaboklab(54.72% 0.0849 -0.1901)
OKLCHoklch(54.72% 0.208 294.1)
XYZxyz(23.6110, 14.4311, 68.5456)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BDB #AADB4B
analogous
#4B62DB #7C4BDB #C44BDB
triadic
#7C4BDB #DB7C4B #4BDB7C
tetradic
#7C4BDB #DB4B62 #AADB4B #4BDBC4
square
#7C4BDB #DB4B62 #AADB4B #4BDBC4
split-complementary
#7C4BDB #DBC44B #62DB4B
monochromatic
#441D8F #5C27C2 #7C4BDB #A17EE5 #C6B1EF

Accessibility & contrast

On white

5.40
#7C4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7C4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BDB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BDB#FFFFFF#000000##FFFFFF
##7C4BDB1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#626D8D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7c4bdb;
/* rgb */ color: rgb(124, 75, 219);
/* oklch */ color: oklch(54.7% 0.208 294.1);
Tailwind
colors: {
  custom: {
    50: '#a980e7',
    500: '#7c4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bdb;
$custom-light: #a980e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bdb",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 260.417,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.54716,
    "c": 0.20818,
    "h": 294.1
  },
  "luminance": 0.14432
}

Semantic roles & 50–950 ramp

primary
#7C4BDB
secondary
#CADEA4
accent
#EA3EAF
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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