#7D3CD8#7D3CD8

#7D3CD8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.223 H 297.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#7D3CD8
RGBrgb(125, 60, 216)
HSLhsl(265, 67%, 54%)
HSVhsv(265, 72%, 85%)
CMYKcmyk(42.1%, 72.2%, 0%, 15.3%)
CIE-LABlab(42.08, 58.81, -69.29)
CIE-LCHlch(42.08, 90.89, 310.32°)
OKLaboklab(52.69% 0.1012 -0.1982)
OKLCHoklch(52.69% 0.223 297)
XYZxyz(22.4647, 12.5491, 66.1911)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3CD8 #97D83C
analogous
#3C49D8 #7D3CD8 #CB3CD8
triadic
#7D3CD8 #D87D3C #3CD87D
tetradic
#7D3CD8 #D83C49 #97D83C #3CD8CB
square
#7D3CD8 #D83C49 #97D83C #3CD8CB
split-complementary
#7D3CD8 #D8CB3C #49D83C
monochromatic
#441A80 #5F24B3 #7D3CD8 #9F6FE2 #C1A2EC

Accessibility & contrast

On white

5.98
#7D3CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7D3CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3CD8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3CD8#FFFFFF#000000##FFFFFF
##7D3CD81.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064DD
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#656487
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7d3cd8;
/* rgb */ color: rgb(125, 60, 216);
/* oklch */ color: oklch(52.7% 0.223 297.0);
Tailwind
colors: {
  custom: {
    50: '#aa77e5',
    500: '#7d3cd8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3cd8;
$custom-light: #aa77e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3cd8",
  "rgb": {
    "r": 125,
    "g": 60,
    "b": 216
  },
  "hsl": {
    "h": 265,
    "s": 66.667,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.22254,
    "h": 297
  },
  "luminance": 0.1255
}

Semantic roles & 50–950 ramp

primary
#7D3CD8
secondary
#BDD997
accent
#EA3EA2
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7D3CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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