#7F44B2#7F44B2

#7F44B2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.171 H 305.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7F44B2
RGBrgb(127, 68, 178)
HSLhsl(272, 45%, 48%)
HSVhsv(272, 62%, 70%)
CMYKcmyk(28.7%, 61.8%, 0%, 30.2%)
CIE-LABlab(40.99, 45.94, -48.93)
CIE-LCHlch(40.99, 67.12, 313.19°)
OKLaboklab(51.11% 0.1003 -0.1383)
OKLCHoklch(51.11% 0.171 305.9)
XYZxyz(18.8537, 11.8608, 43.4070)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44B2 #77B244
analogous
#4844B2 #7F44B2 #B244AE
triadic
#7F44B2 #B27F44 #44B27F
tetradic
#7F44B2 #B24844 #77B244 #44AEB2
square
#7F44B2 #B24844 #77B244 #44AEB2
split-complementary
#7F44B2 #AEB244 #44B248
monochromatic
#402259 #5F3386 #7F44B2 #9D6CC7 #BB99D8

Accessibility & contrast

On white

6.23
#7F44B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7F44B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44B2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44B2#FFFFFF#000000##FFFFFF
##7F44B21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#065FB5
Deuteranopia (green-blind)
#2D61AF
Tritanopia (blue-blind)
#765A75
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f44b2;
/* rgb */ color: rgb(127, 68, 178);
/* oklch */ color: oklch(51.1% 0.171 305.9);
Tailwind
colors: {
  custom: {
    50: '#a87bca',
    500: '#7f44b2',
    950: '#000000',
  },
}
SCSS
$custom: #7f44b2;
$custom-light: #a87bca;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44b2",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 178
  },
  "hsl": {
    "h": 272.182,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51109,
    "c": 0.17084,
    "h": 305.9
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#7F44B2
secondary
#A7C48E
accent
#D4538F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7F44B2

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

Preview Lab → · Contrast checker → · Palette generator →

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