#7F3DAF#7F3DAF

#7F3DAF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 50.0% C 0.177 H 307.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7F3DAF
RGBrgb(127, 61, 175)
HSLhsl(275, 48%, 46%)
HSVhsv(275, 65%, 69%)
CMYKcmyk(27.4%, 65.1%, 0%, 31.4%)
CIE-LABlab(39.49, 48.80, -49.58)
CIE-LCHlch(39.49, 69.56, 314.54°)
OKLaboklab(49.96% 0.1089 -0.1402)
OKLCHoklch(49.96% 0.178 307.8)
XYZxyz(18.1574, 10.9449, 41.7052)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3DAF #6DAF3D
analogous
#463DAF #7F3DAF #AF3DA6
triadic
#7F3DAF #AF7F3D #3DAF7F
tetradic
#7F3DAF #AF463D #6DAF3D #3DA6AF
square
#7F3DAF #AF463D #6DAF3D #3DA6AF
split-complementary
#7F3DAF #A6AF3D #3DAF46
monochromatic
#3D1D54 #5E2D82 #7F3DAF #9D61C8 #B98FD8

Accessibility & contrast

On white

6.59
#7F3DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7F3DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F3DAF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3DAF#FFFFFF#000000##FFFFFF
##7F3DAF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#275EAC
Tritanopia (blue-blind)
#785570
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7f3daf;
/* rgb */ color: rgb(127, 61, 175);
/* oklch */ color: oklch(50.0% 0.177 307.8);
Tailwind
colors: {
  custom: {
    50: '#a877c7',
    500: '#7f3daf',
    950: '#000000',
  },
}
SCSS
$custom: #7f3daf;
$custom-light: #a877c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3daf",
  "rgb": {
    "r": 127,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 274.737,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.1775,
    "h": 307.8
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#7F3DAF
secondary
#9FC385
accent
#D85089
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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