#7D3CBF#7D3CBF

#7D3CBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.196 H 302.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7D3CBF
RGBrgb(125, 60, 191)
HSLhsl(270, 52%, 49%)
HSVhsv(270, 69%, 75%)
CMYKcmyk(34.6%, 68.6%, 0%, 25.1%)
CIE-LABlab(40.17, 52.66, -57.91)
CIE-LCHlch(40.17, 78.28, 312.28°)
OKLaboklab(50.74% 0.1056 -0.1648)
OKLCHoklch(50.74% 0.196 302.7)
XYZxyz(19.4751, 11.3533, 50.4455)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CBF #7EBF3C
analogous
#3C3DBF #7D3CBF #BF3CBF
triadic
#7D3CBF #BF7D3C #3CBF7D
tetradic
#7D3CBF #BF3C3D #7EBF3C #3CBFBF
square
#7D3CBF #BF3C3D #7EBF3C #3CBFBF
split-complementary
#7D3CBF #BFBF3C #3DBF3C
monochromatic
#401F62 #5F2D90 #7D3CBF #9C68D0 #BA97DE

Accessibility & contrast

On white

6.42
#7D3CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7D3CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CBF
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CBF#FFFFFF#000000##FFFFFF
##7D3CBF1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#705A79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7d3cbf;
/* rgb */ color: rgb(125, 60, 191);
/* oklch */ color: oklch(50.7% 0.196 302.7);
Tailwind
colors: {
  custom: {
    50: '#a877d3',
    500: '#7d3cbf',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cbf;
$custom-light: #a877d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cbf",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 191
  },
  "hsl": {
    "h": 269.771,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.19569,
    "h": 302.7
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#7D3CBF
secondary
#ACCA8D
accent
#DC4C94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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