#7F3DAD#7F3DAD

#7F3DAD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.175 H 308.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7F3DAD
RGBrgb(127, 61, 173)
HSLhsl(275, 48%, 46%)
HSVhsv(275, 65%, 68%)
CMYKcmyk(26.6%, 64.7%, 0%, 32.2%)
CIE-LABlab(39.36, 48.33, -48.60)
CIE-LCHlch(39.36, 68.54, 314.84°)
OKLaboklab(49.82% 0.109 -0.1373)
OKLCHoklch(49.82% 0.175 308.4)
XYZxyz(17.9624, 10.8669, 40.6783)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DAD #6BAD3D
analogous
#473DAD #7F3DAD #AD3DA3
triadic
#7F3DAD #AD7F3D #3DAD7F
tetradic
#7F3DAD #AD473D #6BAD3D #3DA3AD
square
#7F3DAD #AD473D #6BAD3D #3DA3AD
split-complementary
#7F3DAD #A3AD3D #3DAD47
monochromatic
#3D1D53 #5E2D80 #7F3DAD #9D60C7 #B98DD7

Accessibility & contrast

On white

6.62
#7F3DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7F3DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DAD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DAD#FFFFFF#000000##FFFFFF
##7F3DAD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#2A5DAA
Tritanopia (blue-blind)
#78546F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f3dad;
/* rgb */ color: rgb(127, 61, 173);
/* oklch */ color: oklch(49.8% 0.175 308.4);
Tailwind
colors: {
  custom: {
    50: '#a877c6',
    500: '#7f3dad',
    950: '#000000',
  },
}
SCSS
$custom: #7f3dad;
$custom-light: #a877c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3dad",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 173
  },
  "hsl": {
    "h": 275.357,
    "s": 47.863,
    "l": 45.882
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.17533,
    "h": 308.4
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#7F3DAD
secondary
#9DC284
accent
#D75088
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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