#7F44C5#7F44C5

#7F44C5 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.192 H 301.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#7F44C5
RGBrgb(127, 68, 197)
HSLhsl(267, 53%, 52%)
HSVhsv(267, 65%, 77%)
CMYKcmyk(35.5%, 65.5%, 0%, 22.7%)
CIE-LABlab(42.27, 50.59, -57.99)
CIE-LCHlch(42.27, 76.96, 311.10°)
OKLaboklab(52.44% 0.0989 -0.165)
OKLCHoklch(52.44% 0.192 301)
XYZxyz(20.8951, 12.6774, 54.1586)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44C5 #8AC544
analogous
#444AC5 #7F44C5 #C044C5
triadic
#7F44C5 #C57F44 #44C57F
tetradic
#7F44C5 #C5444A #8AC544 #44C5C0
square
#7F44C5 #C5444A #8AC544 #44C5C0
split-complementary
#7F44C5 #C5C044 #4AC544
monochromatic
#44226D #61309C #7F44C5 #9F73D3 #BFA1E2

Accessibility & contrast

On white

5.94
#7F44C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#7F44C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44C5
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44C5#FFFFFF#000000##FFFFFF
##7F44C51.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#0163C2
Tritanopia (blue-blind)
#70617F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f44c5;
/* rgb */ color: rgb(127, 68, 197);
/* oklch */ color: oklch(52.4% 0.192 301.0);
Tailwind
colors: {
  custom: {
    50: '#a97cd7',
    500: '#7f44c5',
    950: '#000000',
  },
}
SCSS
$custom: #7f44c5;
$custom-light: #a97cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44c5",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 197
  },
  "hsl": {
    "h": 267.442,
    "s": 52.653,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.19236,
    "h": 301
  },
  "luminance": 0.12677
}

Semantic roles & 50–950 ramp

primary
#7F44C5
secondary
#B5CF96
accent
#DC4C9A
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F44C5

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

Preview Lab → · Contrast checker → · Palette generator →

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