#7D4FCB#7D4FCB

#7D4FCB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.184 H 296.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#7D4FCB
RGBrgb(125, 79, 203)
HSLhsl(262, 54%, 55%)
HSVhsv(262, 61%, 80%)
CMYKcmyk(38.4%, 61.1%, 0%, 20.4%)
CIE-LABlab(44.61, 45.89, -57.70)
CIE-LCHlch(44.61, 73.73, 308.50°)
OKLaboklab(54.21% 0.0833 -0.1642)
OKLCHoklch(54.21% 0.184 296.9)
XYZxyz(22.0302, 14.2634, 58.0808)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FCB #9DCB4F
analogous
#4F5FCB #7D4FCB #BB4FCB
triadic
#7D4FCB #CB7D4F #4FCB7D
tetradic
#7D4FCB #CB4F5F #9DCB4F #4FCBBB
square
#7D4FCB #CB4F5F #9DCB4F #4FCBBB
split-complementary
#7D4FCB #CBBB4F #5FCB4F
monochromatic
#45247B #5F32AA #7D4FCB #A07ED9 #C3ADE7

Accessibility & contrast

On white

5.45
#7D4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#7D4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FCB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FCB#FFFFFF#000000##FFFFFF
##7D4FCB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#1368C8
Tritanopia (blue-blind)
#6A6A86
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d4fcb;
/* rgb */ color: rgb(125, 79, 203);
/* oklch */ color: oklch(54.2% 0.184 296.9);
Tailwind
colors: {
  custom: {
    50: '#a882dc',
    500: '#7d4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fcb;
$custom-light: #a882dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fcb",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 262.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54211,
    "c": 0.18412,
    "h": 296.9
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#7D4FCB
secondary
#C2D5A1
accent
#DE4AA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7D4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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