#7B1975#7B1975

#7B1975 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.167 H 330.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7B1975
RGBrgb(123, 25, 117)
HSLhsl(304, 66%, 29%)
HSVhsv(304, 80%, 48%)
CMYKcmyk(0%, 79.7%, 4.9%, 51.8%)
CIE-LABlab(29.89, 51.11, -29.42)
CIE-LCHlch(29.89, 58.97, 330.08°)
OKLaboklab(41.77% 0.1456 -0.0812)
OKLCHoklch(41.77% 0.167 330.9)
XYZxyz(11.7269, 6.1915, 17.4036)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1975 #197B1F
analogous
#50197B #7B1975 #7B1944
triadic
#7B1975 #757B19 #19757B
tetradic
#7B1975 #7B5019 #197B1F #19447B
square
#7B1975 #7B5019 #197B1F #19447B
split-complementary
#7B1975 #447B19 #197B50
monochromatic
#190518 #480F45 #7B1975 #AE23A5 #D738CD

Accessibility & contrast

On white

9.38
#7B1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1975
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1975#FFFFFF#000000##FFFFFF
##7B19751.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3E77
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#802646
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b1975;
/* rgb */ color: rgb(123, 25, 117);
/* oklch */ color: oklch(41.8% 0.167 330.9);
Tailwind
colors: {
  custom: {
    50: '#a5629d',
    500: '#7b1975',
    950: '#000000',
  },
}
SCSS
$custom: #7b1975;
$custom-light: #a5629d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1975",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 303.673,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41773,
    "c": 0.16666,
    "h": 330.9
  },
  "luminance": 0.06191
}

Semantic roles & 50–950 ramp

primary
#7B1975
secondary
#40AF47
accent
#E9493F
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B1975

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

Preview Lab → · Contrast checker → · Palette generator →

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