#7B1985#7B1985

#7B1985 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.8% C 0.179 H 323.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7B1985
RGBrgb(123, 25, 133)
HSLhsl(294, 68%, 31%)
HSVhsv(294, 81%, 52%)
CMYKcmyk(7.5%, 81.2%, 0%, 47.8%)
CIE-LABlab(30.88, 53.88, -37.92)
CIE-LCHlch(30.88, 65.89, 324.86°)
OKLaboklab(42.79% 0.1449 -0.1059)
OKLCHoklch(42.79% 0.179 323.8)
XYZxyz(12.7493, 6.6005, 22.7883)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1985 #238519
analogous
#451985 #7B1985 #851959
triadic
#7B1985 #857B19 #19857B
tetradic
#7B1985 #854519 #238519 #195985
square
#7B1985 #854519 #238519 #195985
split-complementary
#7B1985 #598519 #198545
monochromatic
#1C061E #4B0F51 #7B1985 #AB23B9 #CC3EDB

Accessibility & contrast

On white

9.05
#7B1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1985
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1985#FFFFFF#000000##FFFFFF
##7B19851.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2E4C83
Tritanopia (blue-blind)
#7D2F4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b1985;
/* rgb */ color: rgb(123, 25, 133);
/* oklch */ color: oklch(42.8% 0.179 323.8);
Tailwind
colors: {
  custom: {
    50: '#a563a9',
    500: '#7b1985',
    950: '#000000',
  },
}
SCSS
$custom: #7b1985;
$custom-light: #a563a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1985",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 294.444,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42794,
    "c": 0.17945,
    "h": 323.8
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#7B1985
secondary
#4CB941
accent
#EB3D4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B1985

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

Preview Lab → · Contrast checker → · Palette generator →

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