#7D3DC5#7D3DC5

#7D3DC5 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.201 H 301.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC5
RGBrgb(125, 61, 197)
HSLhsl(268, 54%, 51%)
HSVhsv(268, 69%, 77%)
CMYKcmyk(36.5%, 69%, 0%, 22.7%)
CIE-LABlab(40.78, 53.64, -60.42)
CIE-LCHlch(40.78, 80.80, 311.60°)
OKLaboklab(51.32% 0.1037 -0.1721)
OKLCHoklch(51.32% 0.201 301.1)
XYZxyz(20.2018, 11.7286, 54.0120)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC5 #85C53D
analogous
#3D41C5 #7D3DC5 #C13DC5
triadic
#7D3DC5 #C57D3D #3DC57D
tetradic
#7D3DC5 #C53D41 #85C53D #3DC5C1
square
#7D3DC5 #C53D41 #85C53D #3DC5C1
split-complementary
#7D3DC5 #C5C13D #41C53D
monochromatic
#421F68 #5F2D98 #7D3DC5 #9D6CD3 #BC9BE1

Accessibility & contrast

On white

6.28
#7D3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7D3DC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DC5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC5#FFFFFF#000000##FFFFFF
##7D3DC51.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005FC2
Tritanopia (blue-blind)
#6D5D7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3dc5;
/* rgb */ color: rgb(125, 61, 197);
/* oklch */ color: oklch(51.3% 0.201 301.1);
Tailwind
colors: {
  custom: {
    50: '#a877d7',
    500: '#7d3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc5;
$custom-light: #a877d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc5",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 268.235,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51318,
    "c": 0.20095,
    "h": 301.1
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#7D3DC5
secondary
#B1CD91
accent
#DD4A98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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