#7B259F#7B259F

#7B259F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.190 H 313.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7B259F
RGBrgb(123, 37, 159)
HSLhsl(282, 62%, 38%)
HSVhsv(282, 77%, 62%)
CMYKcmyk(22.6%, 76.7%, 0%, 37.6%)
CIE-LABlab(34.06, 54.94, -48.77)
CIE-LCHlch(34.06, 73.47, 318.40°)
OKLaboklab(45.61% 0.1309 -0.1378)
OKLCHoklch(45.61% 0.19 313.5)
XYZxyz(15.0869, 8.0378, 33.5509)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B259F #499F25
analogous
#3E259F #7B259F #9F2586
triadic
#7B259F #9F7B25 #259F7B
tetradic
#7B259F #9F3E25 #499F25 #25869F
square
#7B259F #9F3E25 #499F25 #25869F
split-complementary
#7B259F #869F25 #259F3E
monochromatic
#2E0E3C #55196D #7B259F #A132CF #B864DB

Accessibility & contrast

On white

8.05
#7B259F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7B259F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B259F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B259F#FFFFFF#000000##FFFFFF
##7B259F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#774161
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b259f;
/* rgb */ color: rgb(123, 37, 159);
/* oklch */ color: oklch(45.6% 0.190 313.5);
Tailwind
colors: {
  custom: {
    50: '#a569bc',
    500: '#7b259f',
    950: '#000000',
  },
}
SCSS
$custom: #7b259f;
$custom-light: #a569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b259f",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 282.295,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.1901,
    "h": 313.5
  },
  "luminance": 0.08037
}

Semantic roles & 50–950 ramp

primary
#7B259F
secondary
#7CC05F
accent
#E54273
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B259F

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

Preview Lab → · Contrast checker → · Palette generator →

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