#7B1E9F#7B1E9F

#7B1E9F is a mid, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.197 H 314.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7B1E9F
RGBrgb(123, 30, 159)
HSLhsl(283, 68%, 37%)
HSVhsv(283, 81%, 62%)
CMYKcmyk(22.6%, 81.1%, 0%, 37.6%)
CIE-LABlab(33.23, 57.35, -50.12)
CIE-LCHlch(33.23, 76.16, 318.85°)
OKLaboklab(45.03% 0.1369 -0.1417)
OKLCHoklch(45.03% 0.197 314)
XYZxyz(14.8896, 7.6432, 33.4851)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E9F #429F1E
analogous
#3B1E9F #7B1E9F #9F1E83
triadic
#7B1E9F #9F7B1E #1E9F7B
tetradic
#7B1E9F #9F3B1E #429F1E #1E839F
square
#7B1E9F #9F3B1E #429F1E #1E839F
split-complementary
#7B1E9F #839F1E #1E9F3B
monochromatic
#2B0B38 #53146C #7B1E9F #A328D2 #BA58DF

Accessibility & contrast

On white

8.30
#7B1E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7B1E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E9F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E9F#FFFFFF#000000##FFFFFF
##7B1E9F1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#0F509C
Tritanopia (blue-blind)
#773E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7b1e9f;
/* rgb */ color: rgb(123, 30, 159);
/* oklch */ color: oklch(45.0% 0.197 314.0);
Tailwind
colors: {
  custom: {
    50: '#a666bc',
    500: '#7b1e9f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e9f;
$custom-light: #a666bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e9f",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 159
  },
  "hsl": {
    "h": 283.256,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45027,
    "c": 0.19704,
    "h": 314
  },
  "luminance": 0.07643
}

Semantic roles & 50–950 ramp

primary
#7B1E9F
secondary
#74C356
accent
#EB3D6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B1E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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