#7D4FCA#7D4FCA

#7D4FCA is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.183 H 297.1°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#7D4FCA
RGBrgb(125, 79, 202)
HSLhsl(262, 54%, 55%)
HSVhsv(262, 61%, 79%)
CMYKcmyk(38.1%, 60.9%, 0%, 20.8%)
CIE-LABlab(44.54, 45.63, -57.24)
CIE-LCHlch(44.54, 73.20, 308.56°)
OKLaboklab(54.14% 0.0833 -0.1628)
OKLCHoklch(54.14% 0.183 297.1)
XYZxyz(21.9114, 14.2159, 57.4552)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FCA #9CCA4F
analogous
#4F5ECA #7D4FCA #BB4FCA
triadic
#7D4FCA #CA7D4F #4FCA7D
tetradic
#7D4FCA #CA4F5E #9CCA4F #4FCABB
square
#7D4FCA #CA4F5E #9CCA4F #4FCABB
split-complementary
#7D4FCA #CABB4F #5ECA4F
monochromatic
#45257A #5F33A9 #7D4FCA #A07ED8 #C2ADE6

Accessibility & contrast

On white

5.46
#7D4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7D4FCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FCA
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FCA#FFFFFF#000000##FFFFFF
##7D4FCA1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#1668C7
Tritanopia (blue-blind)
#6B6A85
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4fca;
/* rgb */ color: rgb(125, 79, 202);
/* oklch */ color: oklch(54.1% 0.183 297.1);
Tailwind
colors: {
  custom: {
    50: '#a882db',
    500: '#7d4fca',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fca;
$custom-light: #a882db;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fca",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 262.439,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54141,
    "c": 0.18291,
    "h": 297.1
  },
  "luminance": 0.14216
}

Semantic roles & 50–950 ramp

primary
#7D4FCA
secondary
#C1D4A1
accent
#DD4BA6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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