#7D47EA#7D47EA

#7D47EA is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.230 H 292.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7D47EA
RGBrgb(125, 71, 234)
HSLhsl(260, 80%, 60%)
HSVhsv(260, 70%, 92%)
CMYKcmyk(46.6%, 69.7%, 0%, 8.2%)
CIE-LABlab(45.37, 58.21, -74.16)
CIE-LCHlch(45.37, 94.28, 308.13°)
OKLaboklab(55.47% 0.0877 -0.2126)
OKLCHoklch(55.47% 0.23 292.4)
XYZxyz(25.5578, 14.8061, 79.3372)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47EA #B4EA47
analogous
#4763EA #7D47EA #CE47EA
triadic
#7D47EA #EA7D47 #47EA7D
tetradic
#7D47EA #EA4763 #B4EA47 #47EACE
square
#7D47EA #EA4763 #B4EA47 #47EACE
split-complementary
#7D47EA #EACE47 #63EA47
monochromatic
#4313A4 #5919DB #7D47EA #A47EF0 #CBB5F7

Accessibility & contrast

On white

5.30
#7D47EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7D47EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47EA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47EA#FFFFFF#000000##FFFFFF
##7D47EA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#5B7194
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7d47ea;
/* rgb */ color: rgb(125, 71, 234);
/* oklch */ color: oklch(55.5% 0.230 292.4);
Tailwind
colors: {
  custom: {
    50: '#ab7ef2',
    500: '#7d47ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d47ea;
$custom-light: #ab7ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47ea",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 234
  },
  "hsl": {
    "h": 259.877,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.22997,
    "h": 292.4
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#7D47EA
secondary
#D1E6A7
accent
#F632B5
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85

Preview Lab

Preview with #7D47EA

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

Preview Lab → · Contrast checker → · Palette generator →

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