#7B2383#7B2383

#7B2383 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.5% C 0.167 H 324.3°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#7B2383
RGBrgb(123, 35, 131)
HSLhsl(295, 58%, 33%)
HSVhsv(295, 73%, 51%)
CMYKcmyk(6.1%, 73.3%, 0%, 48.6%)
CIE-LABlab(31.93, 50.15, -35.00)
CIE-LCHlch(31.93, 61.15, 325.09°)
OKLaboklab(43.5% 0.1357 -0.0975)
OKLCHoklch(43.5% 0.167 324.3)
XYZxyz(12.8658, 7.0525, 22.1519)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2383 #2B8323
analogous
#4B2383 #7B2383 #83235B
triadic
#7B2383 #837B23 #23837B
tetradic
#7B2383 #834B23 #2B8323 #235B83
square
#7B2383 #834B23 #2B8323 #235B83
split-complementary
#7B2383 #5B8323 #23834B
monochromatic
#200922 #4E1653 #7B2383 #A830B3 #C650D0

Accessibility & contrast

On white

8.71
#7B2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7B2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2383
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2383#FFFFFF#000000##FFFFFF
##7B23831.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044486
Deuteranopia (green-blind)
#354F81
Tritanopia (blue-blind)
#7D3351
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b2383;
/* rgb */ color: rgb(123, 35, 131);
/* oklch */ color: oklch(43.5% 0.167 324.3);
Tailwind
colors: {
  custom: {
    50: '#a467a7',
    500: '#7b2383',
    950: '#000000',
  },
}
SCSS
$custom: #7b2383;
$custom-light: #a467a7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2383",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 295,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43498,
    "c": 0.16711,
    "h": 324.3
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#7B2383
secondary
#56B44E
accent
#E14754
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7B2383

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

Preview Lab → · Contrast checker → · Palette generator →

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