#7D3EB2#7D3EB2

#7D3EB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.179 H 305.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7D3EB2
RGBrgb(125, 62, 178)
HSLhsl(273, 48%, 47%)
HSVhsv(273, 65%, 70%)
CMYKcmyk(29.8%, 65.2%, 0%, 30.2%)
CIE-LABlab(39.61, 48.55, -51.16)
CIE-LCHlch(39.61, 70.53, 313.50°)
OKLaboklab(50.06% 0.1048 -0.1449)
OKLCHoklch(50.06% 0.179 305.9)
XYZxyz(18.2142, 11.0197, 43.2783)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3EB2 #73B23E
analogous
#433EB2 #7D3EB2 #B23EAD
triadic
#7D3EB2 #B27D3E #3EB27D
tetradic
#7D3EB2 #B2433E #73B23E #3EADB2
square
#7D3EB2 #B2433E #73B23E #3EADB2
split-complementary
#7D3EB2 #ADB23E #3EB243
monochromatic
#3D1E57 #5D2E85 #7D3EB2 #9B64C9 #B892D9

Accessibility & contrast

On white

6.55
#7D3EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7D3EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3EB2
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3EB2#FFFFFF#000000##FFFFFF
##7D3EB21.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#215EAF
Tritanopia (blue-blind)
#745772
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7d3eb2;
/* rgb */ color: rgb(125, 62, 178);
/* oklch */ color: oklch(50.1% 0.179 305.9);
Tailwind
colors: {
  custom: {
    50: '#a777ca',
    500: '#7d3eb2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3eb2;
$custom-light: #a777ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3eb2",
  "rgb": {
    "r": 125,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 272.586,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50055,
    "c": 0.17884,
    "h": 305.9
  },
  "luminance": 0.1102
}

Semantic roles & 50–950 ramp

primary
#7D3EB2
secondary
#A3C488
accent
#D8508E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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