#7B2283#7B2283

#7B2283 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.168 H 324.4°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7B2283
RGBrgb(123, 34, 131)
HSLhsl(295, 59%, 32%)
HSVhsv(295, 74%, 51%)
CMYKcmyk(6.1%, 74%, 0%, 48.6%)
CIE-LABlab(31.79, 50.52, -35.21)
CIE-LCHlch(31.79, 61.58, 325.13°)
OKLaboklab(43.4% 0.1368 -0.0981)
OKLCHoklch(43.4% 0.168 324.4)
XYZxyz(12.8368, 6.9945, 22.1423)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2283 #2A8322
analogous
#4B2283 #7B2283 #83225A
triadic
#7B2283 #837B22 #22837B
tetradic
#7B2283 #834B22 #2A8322 #225A83
square
#7B2283 #834B22 #2A8322 #225A83
split-complementary
#7B2283 #5A8322 #22834B
monochromatic
#200922 #4D1552 #7B2283 #A92FB4 #C64ED1

Accessibility & contrast

On white

8.75
#7B2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7B2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2283
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2283#FFFFFF#000000##FFFFFF
##7B22831.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024486
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#7E3350
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2283;
/* rgb */ color: rgb(123, 34, 131);
/* oklch */ color: oklch(43.4% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#a467a7',
    500: '#7b2283',
    950: '#000000',
  },
}
SCSS
$custom: #7b2283;
$custom-light: #a467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2283",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 295.052,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43404,
    "c": 0.1683,
    "h": 324.4
  },
  "luminance": 0.06994
}

Semantic roles & 50–950 ramp

primary
#7B2283
secondary
#55B44C
accent
#E24653
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2283

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

Preview Lab → · Contrast checker → · Palette generator →

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