#7D47BB#7D47BB

#7D47BB is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.176 H 302.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#7D47BB
RGBrgb(125, 71, 187)
HSLhsl(268, 46%, 51%)
HSVhsv(268, 62%, 73%)
CMYKcmyk(33.2%, 62%, 0%, 26.7%)
CIE-LABlab(41.93, 46.10, -52.73)
CIE-LCHlch(41.93, 70.04, 311.16°)
OKLaboklab(51.92% 0.0935 -0.1496)
OKLCHoklch(51.92% 0.176 302)
XYZxyz(19.6782, 12.4543, 48.3713)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D47BB #85BB47
analogous
#474BBB #7D47BB #B747BB
triadic
#7D47BB #BB7D47 #47BB7D
tetradic
#7D47BB #BB474B #85BB47 #47BBB7
square
#7D47BB #BB474B #85BB47 #47BBB7
split-complementary
#7D47BB #BBB747 #4BBB47
monochromatic
#422563 #5F3590 #7D47BB #9D74CC #BCA0DC

Accessibility & contrast

On white

6.02
#7D47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#7D47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D47BB
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D47BB#FFFFFF#000000##FFFFFF
##7D47BB1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2262B8
Tritanopia (blue-blind)
#71607A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d47bb;
/* rgb */ color: rgb(125, 71, 187);
/* oklch */ color: oklch(51.9% 0.176 302.0);
Tailwind
colors: {
  custom: {
    50: '#a77dd0',
    500: '#7d47bb',
    950: '#000000',
  },
}
SCSS
$custom: #7d47bb;
$custom-light: #a77dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d47bb",
  "rgb": {
    "r": 125,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 267.931,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.1764,
    "h": 302
  },
  "luminance": 0.12454
}

Semantic roles & 50–950 ramp

primary
#7D47BB
secondary
#B1C995
accent
#D65298
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7D47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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