#7B259D#7B259D

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

Color values

HEX#7B259D
RGBrgb(123, 37, 157)
HSLhsl(283, 62%, 38%)
HSVhsv(283, 76%, 62%)
CMYKcmyk(21.7%, 76.4%, 0%, 38.4%)
CIE-LABlab(33.92, 54.52, -47.79)
CIE-LCHlch(33.92, 72.51, 318.76°)
OKLaboklab(45.47% 0.1313 -0.1349)
OKLCHoklch(45.47% 0.188 314.2)
XYZxyz(14.9147, 7.9689, 32.6442)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B259D #479D25
analogous
#3F259D #7B259D #9D2583
triadic
#7B259D #9D7B25 #259D7B
tetradic
#7B259D #9D3F25 #479D25 #25839D
square
#7B259D #9D3F25 #479D25 #25839D
split-complementary
#7B259D #839D25 #259D3F
monochromatic
#2D0E3A #54196B #7B259D #A231CE #B862DA

Accessibility & contrast

On white

8.10
#7B259D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7B259D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B259D
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B259D#FFFFFF#000000##FFFFFF
##7B259D1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1C529A
Tritanopia (blue-blind)
#784060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7b259d;
/* rgb */ color: rgb(123, 37, 157);
/* oklch */ color: oklch(45.5% 0.188 314.2);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7b259d',
    950: '#000000',
  },
}
SCSS
$custom: #7b259d;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b259d",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 283,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.18825,
    "h": 314.2
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#7B259D
secondary
#7ABF5E
accent
#E54371
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B259D

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

Preview Lab → · Contrast checker → · Palette generator →

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