#7B18A0#7B18A0

#7B18A0 is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.7% C 0.203 H 314.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7B18A0
RGBrgb(123, 24, 160)
HSLhsl(284, 74%, 36%)
HSVhsv(284, 85%, 63%)
CMYKcmyk(23.1%, 85%, 0%, 37.3%)
CIE-LABlab(32.71, 59.29, -51.57)
CIE-LCHlch(32.71, 78.58, 318.98°)
OKLaboklab(44.69% 0.1409 -0.146)
OKLCHoklch(44.69% 0.203 314)
XYZxyz(14.8391, 7.4028, 33.8981)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B18A0 #3DA018
analogous
#3718A0 #7B18A0 #A01881
triadic
#7B18A0 #A07B18 #18A07B
tetradic
#7B18A0 #A03718 #3DA018 #1881A0
square
#7B18A0 #A03718 #3DA018 #1881A0
split-complementary
#7B18A0 #81A018 #18A037
monochromatic
#290836 #52106B #7B18A0 #A420D5 #BC4EE4

Accessibility & contrast

On white

8.47
#7B18A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7B18A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B18A0
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B18A0#FFFFFF#000000##FFFFFF
##7B18A01.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#024F9D
Tritanopia (blue-blind)
#773C5F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b18a0;
/* rgb */ color: rgb(123, 24, 160);
/* oklch */ color: oklch(44.7% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#a664bd',
    500: '#7b18a0',
    950: '#000000',
  },
}
SCSS
$custom: #7b18a0;
$custom-light: #a664bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b18a0",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 283.676,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.2029,
    "h": 314
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#7B18A0
secondary
#6EC64D
accent
#F1376A
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7B18A0

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

Preview Lab → · Contrast checker → · Palette generator →

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