#7B259E#7B259E

#7B259E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.189 H 313.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7B259E
RGBrgb(123, 37, 158)
HSLhsl(283, 62%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(22.2%, 76.6%, 0%, 38%)
CIE-LABlab(33.99, 54.73, -48.28)
CIE-LCHlch(33.99, 72.99, 318.58°)
OKLaboklab(45.54% 0.1311 -0.1364)
OKLCHoklch(45.54% 0.189 313.9)
XYZxyz(15.0004, 8.0032, 33.0957)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B259E #489E25
analogous
#3F259E #7B259E #9E2584
triadic
#7B259E #9E7B25 #259E7B
tetradic
#7B259E #9E3F25 #489E25 #25849E
square
#7B259E #9E3F25 #489E25 #25849E
split-complementary
#7B259E #849E25 #259E3F
monochromatic
#2E0E3B #54196C #7B259E #A131CF #B863DA

Accessibility & contrast

On white

8.08
#7B259E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7B259E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B259E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B259E#FFFFFF#000000##FFFFFF
##7B259E1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#774160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b259e;
/* rgb */ color: rgb(123, 37, 158);
/* oklch */ color: oklch(45.5% 0.189 313.9);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7b259e',
    950: '#000000',
  },
}
SCSS
$custom: #7b259e;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b259e",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 282.645,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.18918,
    "h": 313.9
  },
  "luminance": 0.08003
}

Semantic roles & 50–950 ramp

primary
#7B259E
secondary
#7BC05F
accent
#E54372
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B259E

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

Preview Lab → · Contrast checker → · Palette generator →

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