#7D3DC8#7D3DC8

#7D3DC8 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.204 H 300.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC8
RGBrgb(125, 61, 200)
HSLhsl(268, 56%, 51%)
HSVhsv(268, 70%, 78%)
CMYKcmyk(37.5%, 69.5%, 0%, 21.6%)
CIE-LABlab(41.00, 54.38, -61.80)
CIE-LCHlch(41.00, 82.32, 311.34°)
OKLaboklab(51.55% 0.1032 -0.1762)
OKLCHoklch(51.55% 0.204 300.4)
XYZxyz(20.5490, 11.8674, 55.8404)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC8 #88C83D
analogous
#3D42C8 #7D3DC8 #C23DC8
triadic
#7D3DC8 #C87D3D #3DC87D
tetradic
#7D3DC8 #C83D42 #88C83D #3DC8C2
square
#7D3DC8 #C83D42 #88C83D #3DC8C2
split-complementary
#7D3DC8 #C8C23D #42C83D
monochromatic
#421F6C #5F2C9C #7D3DC8 #9D6DD6 #BD9CE3

Accessibility & contrast

On white

6.22
#7D3DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7D3DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DC8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC8#FFFFFF#000000##FFFFFF
##7D3DC81.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#6C5E7E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7d3dc8;
/* rgb */ color: rgb(125, 61, 200);
/* oklch */ color: oklch(51.5% 0.204 300.4);
Tailwind
colors: {
  custom: {
    50: '#a877da',
    500: '#7d3dc8',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc8;
$custom-light: #a877da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc8",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 200
  },
  "hsl": {
    "h": 267.626,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51547,
    "c": 0.20421,
    "h": 300.4
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#7D3DC8
secondary
#B3CF92
accent
#DF499A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7D3DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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