#7F44AA#7F44AA

#7F44AA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.162 H 308.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7F44AA
RGBrgb(127, 68, 170)
HSLhsl(275, 43%, 47%)
HSVhsv(275, 60%, 67%)
CMYKcmyk(25.3%, 60%, 0%, 33.3%)
CIE-LABlab(40.49, 44.03, -45.00)
CIE-LCHlch(40.49, 62.96, 314.38°)
OKLaboklab(50.58% 0.1004 -0.1268)
OKLCHoklch(50.58% 0.162 308.4)
XYZxyz(18.0738, 11.5488, 39.2994)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44AA #6FAA44
analogous
#4C44AA #7F44AA #AA44A2
triadic
#7F44AA #AA7F44 #44AA7F
tetradic
#7F44AA #AA4C44 #6FAA44 #44A2AA
square
#7F44AA #AA4C44 #6FAA44 #44A2AA
split-complementary
#7F44AA #A2AA44 #44AA4C
monochromatic
#3E2153 #5E337E #7F44AA #9D68C3 #B994D4

Accessibility & contrast

On white

6.34
#7F44AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7F44AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44AA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44AA#FFFFFF#000000##FFFFFF
##7F44AA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5DAD
Deuteranopia (green-blind)
#3560A8
Tritanopia (blue-blind)
#795870
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7f44aa;
/* rgb */ color: rgb(127, 68, 170);
/* oklch */ color: oklch(50.6% 0.162 308.4);
Tailwind
colors: {
  custom: {
    50: '#a77bc4',
    500: '#7f44aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f44aa;
$custom-light: #a77bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44aa",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 170
  },
  "hsl": {
    "h": 274.706,
    "s": 42.857,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5058,
    "c": 0.16173,
    "h": 308.4
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#7F44AA
secondary
#A1C08A
accent
#D3558A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F44AA

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

Preview Lab → · Contrast checker → · Palette generator →

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