#7F3DC6#7F3DC6

#7F3DC6 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.202 H 301.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7F3DC6
RGBrgb(127, 61, 198)
HSLhsl(269, 55%, 51%)
HSVhsv(269, 69%, 78%)
CMYKcmyk(35.9%, 69.2%, 0%, 22.4%)
CIE-LABlab(41.10, 54.28, -60.48)
CIE-LCHlch(41.10, 81.26, 311.91°)
OKLaboklab(51.62% 0.1063 -0.1722)
OKLCHoklch(51.62% 0.202 301.7)
XYZxyz(20.6117, 11.9266, 54.6313)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DC6 #84C63D
analogous
#3D3FC6 #7F3DC6 #C33DC6
triadic
#7F3DC6 #C67F3D #3DC67F
tetradic
#7F3DC6 #C63D3F #84C63D #3DC6C3
square
#7F3DC6 #C63D3F #84C63D #3DC6C3
split-complementary
#7F3DC6 #C6C33D #3FC63D
monochromatic
#431F6A #612D99 #7F3DC6 #9E6CD4 #BD9CE2

Accessibility & contrast

On white

6.20
#7F3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7F3DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DC6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DC6#FFFFFF#000000##FFFFFF
##7F3DC61.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#705D7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f3dc6;
/* rgb */ color: rgb(127, 61, 198);
/* oklch */ color: oklch(51.6% 0.202 301.7);
Tailwind
colors: {
  custom: {
    50: '#aa77d8',
    500: '#7f3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dc6;
$custom-light: #aa77d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dc6",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 268.905,
    "s": 54.582,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.20239,
    "h": 301.7
  },
  "luminance": 0.11927
}

Semantic roles & 50–950 ramp

primary
#7F3DC6
secondary
#B1CE91
accent
#DE4A97
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7F3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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