#7D3DC3#7D3DC3

#7D3DC3 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 51.2% C 0.199 H 301.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7D3DC3
RGBrgb(125, 61, 195)
HSLhsl(269, 53%, 50%)
HSVhsv(269, 69%, 76%)
CMYKcmyk(35.9%, 68.7%, 0%, 23.5%)
CIE-LABlab(40.63, 53.15, -59.50)
CIE-LCHlch(40.63, 79.78, 311.78°)
OKLaboklab(51.17% 0.104 -0.1694)
OKLCHoklch(51.17% 0.199 301.5)
XYZxyz(19.9742, 11.6375, 52.8131)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D3DC3 #83C33D
analogous
#3D40C3 #7D3DC3 #C03DC3
triadic
#7D3DC3 #C37D3D #3DC37D
tetradic
#7D3DC3 #C33D40 #83C33D #3DC3C0
square
#7D3DC3 #C33D40 #83C33D #3DC3C0
split-complementary
#7D3DC3 #C3C03D #40C33D
monochromatic
#412066 #5F2E95 #7D3DC3 #9C6CD1 #BC9AE0

Accessibility & contrast

On white

6.31
#7D3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7D3DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D3DC3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D3DC3#FFFFFF#000000##FFFFFF
##7D3DC31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#6E5C7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7d3dc3;
/* rgb */ color: rgb(125, 61, 195);
/* oklch */ color: oklch(51.2% 0.199 301.5);
Tailwind
colors: {
  custom: {
    50: '#a877d6',
    500: '#7d3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #7d3dc3;
$custom-light: #a877d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d3dc3",
  "rgb": {
    "r": 125,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 268.657,
    "s": 52.756,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.19878,
    "h": 301.5
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#7D3DC3
secondary
#AFCC90
accent
#DC4C97
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7D3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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