#7F2B90#7F2B90

#7F2B90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.171 H 320.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7F2B90
RGBrgb(127, 43, 144)
HSLhsl(290, 54%, 37%)
HSVhsv(290, 70%, 56%)
CMYKcmyk(11.8%, 70.1%, 0%, 43.5%)
CIE-LABlab(34.51, 50.38, -38.88)
CIE-LCHlch(34.51, 63.64, 322.34°)
OKLaboklab(45.73% 0.1315 -0.1087)
OKLCHoklch(45.73% 0.171 320.4)
XYZxyz(14.6497, 8.2541, 27.2017)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B90 #3C902B
analogous
#4D2B90 #7F2B90 #902B6F
triadic
#7F2B90 #907F2B #2B907F
tetradic
#7F2B90 #904D2B #3C902B #2B6F90
square
#7F2B90 #904D2B #3C902B #2B6F90
split-complementary
#7F2B90 #6F902B #2B904D
monochromatic
#2C0F32 #551D61 #7F2B90 #A939BF #BF65D1

Accessibility & contrast

On white

7.92
#7F2B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7F2B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B90
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B90#FFFFFF#000000##FFFFFF
##7F2B901.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B93
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#803D5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7f2b90;
/* rgb */ color: rgb(127, 43, 144);
/* oklch */ color: oklch(45.7% 0.171 320.4);
Tailwind
colors: {
  custom: {
    50: '#a76cb1',
    500: '#7f2b90',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b90;
$custom-light: #a76cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b90",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 144
  },
  "hsl": {
    "h": 289.901,
    "s": 54.011,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.17065,
    "h": 320.4
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#7F2B90
secondary
#6EB760
accent
#DD4A63
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7F2B90

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

Preview Lab → · Contrast checker → · Palette generator →

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