#7F2690#7F2690

#7F2690 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 320.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7F2690
RGBrgb(127, 38, 144)
HSLhsl(290, 58%, 36%)
HSVhsv(290, 74%, 56%)
CMYKcmyk(11.8%, 73.6%, 0%, 43.5%)
CIE-LABlab(33.80, 52.38, -40.01)
CIE-LCHlch(33.80, 65.91, 322.62°)
OKLaboklab(45.23% 0.1369 -0.112)
OKLCHoklch(45.23% 0.177 320.7)
XYZxyz(14.4790, 7.9126, 27.1448)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2690 #379026
analogous
#4A2690 #7F2690 #90266C
triadic
#7F2690 #907F26 #26907F
tetradic
#7F2690 #904A26 #379026 #266C90
square
#7F2690 #904A26 #379026 #266C90
split-complementary
#7F2690 #6C9026 #26904A
monochromatic
#2A0C2F #541960 #7F2690 #AA33C0 #C15CD4

Accessibility & contrast

On white

8.13
#7F2690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7F2690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2690
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2690#FFFFFF#000000##FFFFFF
##7F26901.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004993
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#803A59
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7f2690;
/* rgb */ color: rgb(127, 38, 144);
/* oklch */ color: oklch(45.2% 0.177 320.7);
Tailwind
colors: {
  custom: {
    50: '#a86ab1',
    500: '#7f2690',
    950: '#000000',
  },
}
SCSS
$custom: #7f2690;
$custom-light: #a86ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2690",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 290.377,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.17685,
    "h": 320.7
  },
  "luminance": 0.07912
}

Semantic roles & 50–950 ramp

primary
#7F2690
secondary
#68B959
accent
#E1465F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2690

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

Preview Lab → · Contrast checker → · Palette generator →

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