#7B259A#7B259A

#7B259A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.185 H 315.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#7B259A
RGBrgb(123, 37, 154)
HSLhsl(284, 61%, 37%)
HSVhsv(284, 76%, 60%)
CMYKcmyk(20.1%, 76%, 0%, 39.6%)
CIE-LABlab(33.71, 53.91, -46.31)
CIE-LCHlch(33.71, 71.07, 319.33°)
OKLaboklab(45.25% 0.1317 -0.1306)
OKLCHoklch(45.25% 0.185 315.2)
XYZxyz(14.6617, 7.8677, 31.3119)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B259A #449A25
analogous
#41259A #7B259A #9A257E
triadic
#7B259A #9A7B25 #259A7B
tetradic
#7B259A #9A4125 #449A25 #257E9A
square
#7B259A #9A4125 #449A25 #257E9A
split-complementary
#7B259A #7E9A25 #259A41
monochromatic
#2C0D37 #541969 #7B259A #A231CB #B960D9

Accessibility & contrast

On white

8.16
#7B259A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7B259A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B259A
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B259A#FFFFFF#000000##FFFFFF
##7B259A1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#215197
Tritanopia (blue-blind)
#783F5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b259a;
/* rgb */ color: rgb(123, 37, 154);
/* oklch */ color: oklch(45.2% 0.185 315.2);
Tailwind
colors: {
  custom: {
    50: '#a569b8',
    500: '#7b259a',
    950: '#000000',
  },
}
SCSS
$custom: #7b259a;
$custom-light: #a569b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b259a",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 284.103,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45249,
    "c": 0.18548,
    "h": 315.2
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#7B259A
secondary
#77BE5D
accent
#E4436E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B259A

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

Preview Lab → · Contrast checker → · Palette generator →

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