#7B1CA9#7B1CA9

#7B1CA9 is a mid, highly saturated purple. Relative luminance 0.079; OKLCH L 45.7% C 0.208 H 310.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7B1CA9
RGBrgb(123, 28, 169)
HSLhsl(280, 72%, 39%)
HSVhsv(280, 83%, 66%)
CMYKcmyk(27.2%, 83.4%, 0%, 33.7%)
CIE-LABlab(33.79, 60.00, -55.25)
CIE-LCHlch(33.79, 81.56, 317.36°)
OKLaboklab(45.66% 0.136 -0.1568)
OKLCHoklch(45.66% 0.208 310.9)
XYZxyz(15.7437, 7.9064, 38.2252)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1CA9 #4AA91C
analogous
#351CA9 #7B1CA9 #A91C90
triadic
#7B1CA9 #A97B1C #1CA97B
tetradic
#7B1CA9 #A9351C #4AA91C #1C90A9
square
#7B1CA9 #A9351C #4AA91C #1C90A9
split-complementary
#7B1CA9 #90A91C #1CA935
monochromatic
#2F0B40 #551374 #7B1CA9 #A027DB #B75BE4

Accessibility & contrast

On white

8.14
#7B1CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7B1CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1CA9
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1CA9#FFFFFF#000000##FFFFFF
##7B1CA91.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0051A6
Tritanopia (blue-blind)
#754265
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b1ca9;
/* rgb */ color: rgb(123, 28, 169);
/* oklch */ color: oklch(45.7% 0.208 310.9);
Tailwind
colors: {
  custom: {
    50: '#a666c3',
    500: '#7b1ca9',
    950: '#000000',
  },
}
SCSS
$custom: #7b1ca9;
$custom-light: #a666c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1ca9",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 169
  },
  "hsl": {
    "h": 280.426,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.20756,
    "h": 310.9
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#7B1CA9
secondary
#7DC859
accent
#EE3974
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B1CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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