#7F44CC#7F44CC

#7F44CC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.200 H 299.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#7F44CC
RGBrgb(127, 68, 204)
HSLhsl(266, 57%, 53%)
HSVhsv(266, 67%, 80%)
CMYKcmyk(37.7%, 66.7%, 0%, 20%)
CIE-LABlab(42.77, 52.34, -61.24)
CIE-LCHlch(42.77, 80.56, 310.52°)
OKLaboklab(52.96% 0.0981 -0.1745)
OKLCHoklch(52.96% 0.2 299.4)
XYZxyz(21.7159, 13.0057, 58.4813)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F44CC #91CC44
analogous
#444DCC #7F44CC #C344CC
triadic
#7F44CC #CC7F44 #44CC7F
tetradic
#7F44CC #CC444D #91CC44 #44CCC3
square
#7F44CC #CC444D #91CC44 #44CCC3
split-complementary
#7F44CC #CCC344 #4DCC44
monochromatic
#452076 #612DA6 #7F44CC #A074D9 #C1A4E6

Accessibility & contrast

On white

5.83
#7F44CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7F44CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F44CC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F44CC#FFFFFF#000000##FFFFFF
##7F44CC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#6D6482
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7f44cc;
/* rgb */ color: rgb(127, 68, 204);
/* oklch */ color: oklch(53.0% 0.200 299.4);
Tailwind
colors: {
  custom: {
    50: '#aa7cdc',
    500: '#7f44cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f44cc;
$custom-light: #aa7cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f44cc",
  "rgb": {
    "r": 127,
    "g": 68,
    "b": 204
  },
  "hsl": {
    "h": 266.029,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52956,
    "c": 0.20021,
    "h": 299.4
  },
  "luminance": 0.13006
}

Semantic roles & 50–950 ramp

primary
#7F44CC
secondary
#BAD399
accent
#E0479E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F44CC

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

Preview Lab → · Contrast checker → · Palette generator →

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