#7F44CA#7F44CA

#7F44CA is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.198 H 299.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#7F44CA
RGBrgb(127, 68, 202)
HSLhsl(266, 56%, 53%)
HSVhsv(266, 66%, 79%)
CMYKcmyk(37.1%, 66.3%, 0%, 20.8%)
CIE-LABlab(42.63, 51.84, -60.32)
CIE-LCHlch(42.63, 79.53, 310.68°)
OKLaboklab(52.81% 0.0984 -0.1718)
OKLCHoklch(52.81% 0.198 299.8)
XYZxyz(21.4776, 12.9103, 57.2261)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44CA #8FCA44
analogous
#444CCA #7F44CA #C244CA
triadic
#7F44CA #CA7F44 #44CA7F
tetradic
#7F44CA #CA444C #8FCA44 #44CAC2
square
#7F44CA #CA444C #8FCA44 #44CAC2
split-complementary
#7F44CA #CAC244 #4CCA44
monochromatic
#452173 #612EA3 #7F44CA #A074D8 #C0A3E5

Accessibility & contrast

On white

5.86
#7F44CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7F44CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44CA
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44CA#FFFFFF#000000##FFFFFF
##7F44CA1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#6E6381
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f44ca;
/* rgb */ color: rgb(127, 68, 202);
/* oklch */ color: oklch(52.8% 0.198 299.8);
Tailwind
colors: {
  custom: {
    50: '#aa7cdb',
    500: '#7f44ca',
    950: '#000000',
  },
}
SCSS
$custom: #7f44ca;
$custom-light: #aa7cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44ca",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 202
  },
  "hsl": {
    "h": 266.418,
    "s": 55.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52808,
    "c": 0.19797,
    "h": 299.8
  },
  "luminance": 0.12911
}

Semantic roles & 50–950 ramp

primary
#7F44CA
secondary
#B8D298
accent
#DF499D
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F44CA

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

Preview Lab → · Contrast checker → · Palette generator →

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