#7F39AF#7F39AF

#7F39AF is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.5% C 0.183 H 308.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7F39AF
RGBrgb(127, 57, 175)
HSLhsl(276, 51%, 45%)
HSVhsv(276, 67%, 69%)
CMYKcmyk(27.4%, 67.4%, 0%, 31.4%)
CIE-LABlab(38.78, 50.74, -50.71)
CIE-LCHlch(38.78, 71.74, 315.01°)
OKLaboklab(49.45% 0.1135 -0.1435)
OKLCHoklch(49.45% 0.183 308.3)
XYZxyz(17.9518, 10.5337, 41.6366)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F39AF #69AF39
analogous
#4439AF #7F39AF #AF39A4
triadic
#7F39AF #AF7F39 #39AF7F
tetradic
#7F39AF #AF4439 #69AF39 #39A4AF
square
#7F39AF #AF4439 #69AF39 #39A4AF
split-complementary
#7F39AF #A4AF39 #39AF44
monochromatic
#3C1B53 #5D2A81 #7F39AF #9D5BCA #B98AD9

Accessibility & contrast

On white

6.76
#7F39AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7F39AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F39AF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F39AF#FFFFFF#000000##FFFFFF
##7F39AF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#78526F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7f39af;
/* rgb */ color: rgb(127, 57, 175);
/* oklch */ color: oklch(49.5% 0.183 308.3);
Tailwind
colors: {
  custom: {
    50: '#a874c8',
    500: '#7f39af',
    950: '#000000',
  },
}
SCSS
$custom: #7f39af;
$custom-light: #a874c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f39af",
  "rgb": {
    "r": 127,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 275.593,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4945,
    "c": 0.18296,
    "h": 308.3
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#7F39AF
secondary
#9CC381
accent
#DA4D87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F39AF

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

Preview Lab → · Contrast checker → · Palette generator →

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