#7F44BA#7F44BA

#7F44BA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.180 H 303.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7F44BA
RGBrgb(127, 68, 186)
HSLhsl(270, 46%, 50%)
HSVhsv(270, 63%, 73%)
CMYKcmyk(31.7%, 63.4%, 0%, 27.1%)
CIE-LABlab(41.52, 47.88, -52.79)
CIE-LCHlch(41.52, 71.27, 312.20°)
OKLaboklab(51.66% 0.0999 -0.1497)
OKLCHoklch(51.66% 0.18 303.7)
XYZxyz(19.6804, 12.1915, 47.7612)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44BA #7FBA44
analogous
#4444BA #7F44BA #BA44BA
triadic
#7F44BA #BA7F44 #44BA7F
tetradic
#7F44BA #BA4444 #7FBA44 #44BABA
square
#7F44BA #BA4444 #7FBA44 #44BABA
split-complementary
#7F44BA #BABA44 #44BA44
monochromatic
#422360 #60348D #7F44BA #9E70CB #BC9DDB

Accessibility & contrast

On white

6.11
#7F44BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7F44BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44BA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44BA#FFFFFF#000000##FFFFFF
##7F44BA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#2262B7
Tritanopia (blue-blind)
#745D79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7f44ba;
/* rgb */ color: rgb(127, 68, 186);
/* oklch */ color: oklch(51.7% 0.180 303.7);
Tailwind
colors: {
  custom: {
    50: '#a87bcf',
    500: '#7f44ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f44ba;
$custom-light: #a87bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44ba",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 186
  },
  "hsl": {
    "h": 270,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.17993,
    "h": 303.7
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#7F44BA
secondary
#ADC892
accent
#D65294
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7F44BA

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

Preview Lab → · Contrast checker → · Palette generator →

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