#7D4FEF#7D4FEF

#7D4FEF is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.9% C 0.226 H 290.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7D4FEF
RGBrgb(125, 79, 239)
HSLhsl(257, 83%, 62%)
HSVhsv(257, 67%, 94%)
CMYKcmyk(47.7%, 66.9%, 0%, 6.3%)
CIE-LABlab(47.21, 55.52, -73.97)
CIE-LCHlch(47.21, 92.49, 306.89°)
OKLaboklab(56.91% 0.0796 -0.212)
OKLCHoklch(56.91% 0.226 290.6)
XYZxyz(26.8290, 16.1829, 83.3546)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4FEF #C1EF4F
analogous
#4F71EF #7D4FEF #CD4FEF
triadic
#7D4FEF #EF7D4F #4FEF7D
tetradic
#7D4FEF #EF4F71 #C1EF4F #4FEFCD
square
#7D4FEF #EF4F71 #C1EF4F #4FEFCD
split-complementary
#7D4FEF #EFCD4F #71EF4F
monochromatic
#3F10B3 #5417EA #7D4FEF #A687F4 #D0BFF9

Accessibility & contrast

On white

4.96
#7D4FEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#7D4FEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4FEF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4FEF#FFFFFF#000000##FFFFFF
##7D4FEF1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#587799
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7d4fef;
/* rgb */ color: rgb(125, 79, 239);
/* oklch */ color: oklch(56.9% 0.226 290.6);
Tailwind
colors: {
  custom: {
    50: '#ab83f5',
    500: '#7d4fef',
    950: '#000000',
  },
}
SCSS
$custom: #7d4fef;
$custom-light: #ab83f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4fef",
  "rgb": {
    "r": 125,
    "g": 79,
    "b": 239
  },
  "hsl": {
    "h": 257.25,
    "s": 83.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56913,
    "c": 0.22647,
    "h": 290.6
  },
  "luminance": 0.16184
}

Semantic roles & 50–950 ramp

primary
#7D4FEF
secondary
#D9EAB0
accent
#E006A1
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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