#7F3AC2#7F3AC2

#7F3AC2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.0% C 0.202 H 303.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7F3AC2
RGBrgb(127, 58, 194)
HSLhsl(270, 54%, 49%)
HSVhsv(270, 70%, 76%)
CMYKcmyk(34.5%, 70.1%, 0%, 23.9%)
CIE-LABlab(40.30, 54.72, -59.44)
CIE-LCHlch(40.30, 80.80, 312.63°)
OKLaboklab(50.96% 0.11 -0.1692)
OKLCHoklch(50.96% 0.202 303)
XYZxyz(20.0008, 11.4332, 52.1816)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3AC2 #7DC23A
analogous
#3B3AC2 #7F3AC2 #C23AC1
triadic
#7F3AC2 #C27F3A #3AC27F
tetradic
#7F3AC2 #C23B3A #7DC23A #3AC1C2
square
#7F3AC2 #C23B3A #7DC23A #3AC1C2
split-complementary
#7F3AC2 #C1C23A #3AC23B
monochromatic
#411E64 #602C93 #7F3AC2 #9D67D2 #BC97E0

Accessibility & contrast

On white

6.39
#7F3AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7F3AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3AC2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3AC2#FFFFFF#000000##FFFFFF
##7F3AC21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#725A7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f3ac2;
/* rgb */ color: rgb(127, 58, 194);
/* oklch */ color: oklch(51.0% 0.202 303.0);
Tailwind
colors: {
  custom: {
    50: '#a976d5',
    500: '#7f3ac2',
    950: '#000000',
  },
}
SCSS
$custom: #7f3ac2;
$custom-light: #a976d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3ac2",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 270.441,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.20178,
    "h": 303
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#7F3AC2
secondary
#ABCB8D
accent
#DD4A93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7F3AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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