#7D4CEF#7D4CEF

#7D4CEF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.230 H 291.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7D4CEF
RGBrgb(125, 76, 239)
HSLhsl(258, 84%, 62%)
HSVhsv(258, 68%, 94%)
CMYKcmyk(47.7%, 68.2%, 0%, 6.3%)
CIE-LABlab(46.66, 57.05, -74.88)
CIE-LCHlch(46.66, 94.13, 307.30°)
OKLaboklab(56.52% 0.0824 -0.2147)
OKLCHoklch(56.52% 0.23 291)
XYZxyz(26.6175, 15.7598, 83.2841)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D4CEF #BEEF4C
analogous
#4C6DEF #7D4CEF #CF4CEF
triadic
#7D4CEF #EF7D4C #4CEF7D
tetradic
#7D4CEF #EF4C6D #BEEF4C #4CEFCF
square
#7D4CEF #EF4C6D #BEEF4C #4CEFCF
split-complementary
#7D4CEF #EFCF4C #6DEF4C
monochromatic
#4010B1 #5515E9 #7D4CEF #A684F4 #CFBCF9

Accessibility & contrast

On white

5.06
#7D4CEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7D4CEF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D4CEF
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D4CEF#FFFFFF#000000##FFFFFF
##7D4CEF1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071F4
Deuteranopia (green-blind)
#006BEC
Tritanopia (blue-blind)
#587598
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7d4cef;
/* rgb */ color: rgb(125, 76, 239);
/* oklch */ color: oklch(56.5% 0.230 291.0);
Tailwind
colors: {
  custom: {
    50: '#ac82f5',
    500: '#7d4cef',
    950: '#000000',
  },
}
SCSS
$custom: #7d4cef;
$custom-light: #ac82f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d4cef",
  "rgb": {
    "r": 125,
    "g": 76,
    "b": 239
  },
  "hsl": {
    "h": 258.037,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56515,
    "c": 0.22992,
    "h": 291
  },
  "luminance": 0.15761
}

Semantic roles & 50–950 ramp

primary
#7D4CEF
secondary
#D7EAAD
accent
#E0059E
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7D4CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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