#7F44C7#7F44C7

#7F44C7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.6% C 0.195 H 300.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F44C7
RGBrgb(127, 68, 199)
HSLhsl(267, 54%, 52%)
HSVhsv(267, 66%, 78%)
CMYKcmyk(36.2%, 65.8%, 0%, 22%)
CIE-LABlab(42.41, 51.09, -58.93)
CIE-LCHlch(42.41, 77.99, 310.93°)
OKLaboklab(52.59% 0.0987 -0.1677)
OKLCHoklch(52.59% 0.195 300.5)
XYZxyz(21.1258, 12.7696, 55.3735)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44C7 #8CC744
analogous
#444BC7 #7F44C7 #C044C7
triadic
#7F44C7 #C77F44 #44C77F
tetradic
#7F44C7 #C7444B #8CC744 #44C7C0
square
#7F44C7 #C7444B #8CC744 #44C7C0
split-complementary
#7F44C7 #C7C044 #4BC744
monochromatic
#44216F #612F9E #7F44C7 #9F73D5 #BFA2E3

Accessibility & contrast

On white

5.91
#7F44C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7F44C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44C7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44C7#FFFFFF#000000##FFFFFF
##7F44C71.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0063C4
Tritanopia (blue-blind)
#6F6280
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f44c7;
/* rgb */ color: rgb(127, 68, 199);
/* oklch */ color: oklch(52.6% 0.195 300.5);
Tailwind
colors: {
  custom: {
    50: '#a97cd9',
    500: '#7f44c7',
    950: '#000000',
  },
}
SCSS
$custom: #7f44c7;
$custom-light: #a97cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44c7",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 199
  },
  "hsl": {
    "h": 267.023,
    "s": 53.909,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52587,
    "c": 0.1946,
    "h": 300.5
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#7F44C7
secondary
#B6D097
accent
#DD4B9B
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F44C7

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

Preview Lab → · Contrast checker → · Palette generator →

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