#7B2F90#7B2F90

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

Color values

HEX#7B2F90
RGBrgb(123, 47, 144)
HSLhsl(287, 51%, 37%)
HSVhsv(287, 67%, 56%)
CMYKcmyk(14.6%, 67.4%, 0%, 43.5%)
CIE-LABlab(34.51, 47.69, -38.90)
CIE-LCHlch(34.51, 61.54, 320.79°)
OKLaboklab(45.62% 0.1219 -0.109)
OKLCHoklch(45.62% 0.163 318.2)
XYZxyz(14.2182, 8.2582, 27.2252)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F90 #44902F
analogous
#4A2F90 #7B2F90 #902F75
triadic
#7B2F90 #907B2F #2F907B
tetradic
#7B2F90 #904A2F #44902F #2F7590
square
#7B2F90 #904A2F #44902F #2F7590
split-complementary
#7B2F90 #75902F #2F904A
monochromatic
#2C1134 #542062 #7B2F90 #A23EBE #B96BCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B2F90#FFFFFF#000000##FFFFFF
##7B2F901.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)
#0A4C93
Deuteranopia (green-blind)
#33548E
Tritanopia (blue-blind)
#7B415B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7b2f90;
/* rgb */ color: rgb(123, 47, 144);
/* oklch */ color: oklch(45.6% 0.163 318.2);
Tailwind
colors: {
  custom: {
    50: '#a46eb1',
    500: '#7b2f90',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f90;
$custom-light: #a46eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f90",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 287.01,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.16348,
    "h": 318.2
  },
  "luminance": 0.08258
}

Semantic roles & 50–950 ramp

primary
#7B2F90
secondary
#77B665
accent
#DA4E6C
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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