#7F3ACA#7F3ACA

#7F3ACA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.210 H 301.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7F3ACA
RGBrgb(127, 58, 202)
HSLhsl(269, 58%, 51%)
HSVhsv(269, 71%, 79%)
CMYKcmyk(37.1%, 71.3%, 0%, 20.8%)
CIE-LABlab(40.90, 56.64, -63.12)
CIE-LCHlch(40.90, 84.81, 311.90°)
OKLaboklab(51.57% 0.1086 -0.18)
OKLCHoklch(51.57% 0.21 301.1)
XYZxyz(20.9235, 11.8023, 57.0414)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3ACA #85CA3A
analogous
#3A3DCA #7F3ACA #C73ACA
triadic
#7F3ACA #CA7F3A #3ACA7F
tetradic
#7F3ACA #CA3A3D #85CA3A #3ACAC7
square
#7F3ACA #CA3A3D #85CA3A #3ACAC7
split-complementary
#7F3ACA #CAC73A #3DCA3A
monochromatic
#431D6C #612A9D #7F3ACA #9E6AD7 #BE9AE4

Accessibility & contrast

On white

6.25
#7F3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7F3ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3ACA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3ACA#FFFFFF#000000##FFFFFF
##7F3ACA1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6F5D7E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7f3aca;
/* rgb */ color: rgb(127, 58, 202);
/* oklch */ color: oklch(51.6% 0.210 301.1);
Tailwind
colors: {
  custom: {
    50: '#aa76db',
    500: '#7f3aca',
    950: '#000000',
  },
}
SCSS
$custom: #7f3aca;
$custom-light: #aa76db;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3aca",
  "rgb": {
    "r": 127,
    "g": 58,
    "b": 202
  },
  "hsl": {
    "h": 268.75,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51574,
    "c": 0.21022,
    "h": 301.1
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#7F3ACA
secondary
#B1D090
accent
#E14797
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7F3ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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