#7D3FB2#7D3FB2

#7D3FB2 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.177 H 305.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7D3FB2
RGBrgb(125, 63, 178)
HSLhsl(272, 48%, 47%)
HSVhsv(272, 65%, 70%)
CMYKcmyk(29.8%, 64.6%, 0%, 30.2%)
CIE-LABlab(39.80, 48.05, -50.87)
CIE-LCHlch(39.80, 69.97, 313.37°)
OKLaboklab(50.19% 0.1036 -0.1441)
OKLCHoklch(50.19% 0.177 305.7)
XYZxyz(18.2691, 11.1295, 43.2966)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3FB2 #74B23F
analogous
#443FB2 #7D3FB2 #B23FAE
triadic
#7D3FB2 #B27D3F #3FB27D
tetradic
#7D3FB2 #B2443F #74B23F #3FAEB2
square
#7D3FB2 #B2443F #74B23F #3FAEB2
split-complementary
#7D3FB2 #AEB23F #3FB244
monochromatic
#3E1F58 #5D2F85 #7D3FB2 #9B66C9 #B893D9

Accessibility & contrast

On white

6.51
#7D3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7D3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3FB2
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3FB2#FFFFFF#000000##FFFFFF
##7D3FB21.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#745773
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7d3fb2;
/* rgb */ color: rgb(125, 63, 178);
/* oklch */ color: oklch(50.2% 0.177 305.7);
Tailwind
colors: {
  custom: {
    50: '#a778ca',
    500: '#7d3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #7d3fb2;
$custom-light: #a778ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3fb2",
  "rgb": {
    "r": 125,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 272.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50188,
    "c": 0.17744,
    "h": 305.7
  },
  "luminance": 0.11129
}

Semantic roles & 50–950 ramp

primary
#7D3FB2
secondary
#A4C489
accent
#D7508F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7D3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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