#7B258F#7B258F

#7B258F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.175 H 319.3°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7B258F
RGBrgb(123, 37, 143)
HSLhsl(289, 59%, 35%)
HSVhsv(289, 74%, 56%)
CMYKcmyk(14%, 74.1%, 0%, 43.9%)
CIE-LABlab(32.96, 51.69, -40.78)
CIE-LCHlch(32.96, 65.84, 321.73°)
OKLaboklab(44.48% 0.133 -0.1144)
OKLCHoklch(44.48% 0.175 319.3)
XYZxyz(13.7872, 7.5179, 26.7062)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B258F #398F25
analogous
#46258F #7B258F #8F256E
triadic
#7B258F #8F7B25 #258F7B
tetradic
#7B258F #8F4625 #398F25 #256E8F
square
#7B258F #8F4625 #398F25 #256E8F
split-complementary
#7B258F #6E8F25 #258F46
monochromatic
#270C2E #51185E #7B258F #A532C0 #BD5AD4

Accessibility & contrast

On white

8.39
#7B258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7B258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B258F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B258F#FFFFFF#000000##FFFFFF
##7B258F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2D508D
Tritanopia (blue-blind)
#7B3A58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7b258f;
/* rgb */ color: rgb(123, 37, 143);
/* oklch */ color: oklch(44.5% 0.175 319.3);
Tailwind
colors: {
  custom: {
    50: '#a569b0',
    500: '#7b258f',
    950: '#000000',
  },
}
SCSS
$custom: #7b258f;
$custom-light: #a569b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b258f",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 288.679,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4448,
    "c": 0.17541,
    "h": 319.3
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#7B258F
secondary
#69B957
accent
#E24663
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7B258F

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

Preview Lab → · Contrast checker → · Palette generator →

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