#7B249F#7B249F

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

Color values

HEX#7B249F
RGBrgb(123, 36, 159)
HSLhsl(282, 63%, 38%)
HSVhsv(282, 77%, 62%)
CMYKcmyk(22.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(33.93, 55.31, -48.98)
CIE-LCHlch(33.93, 73.88, 318.47°)
OKLaboklab(45.52% 0.1318 -0.1384)
OKLCHoklch(45.52% 0.191 313.6)
XYZxyz(15.0562, 7.9764, 33.5407)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B249F #489F24
analogous
#3D249F #7B249F #9F2485
triadic
#7B249F #9F7B24 #249F7B
tetradic
#7B249F #9F3D24 #489F24 #24859F
square
#7B249F #9F3D24 #489F24 #24859F
split-complementary
#7B249F #859F24 #249F3D
monochromatic
#2E0D3B #54196D #7B249F #A130D0 #B862DB

Accessibility & contrast

On white

8.09
#7B249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B249F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B249F#FFFFFF#000000##FFFFFF
##7B249F1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b249f;
/* rgb */ color: rgb(123, 36, 159);
/* oklch */ color: oklch(45.5% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#a569bc',
    500: '#7b249f',
    950: '#000000',
  },
}
SCSS
$custom: #7b249f;
$custom-light: #a569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b249f",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 282.439,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.19116,
    "h": 313.6
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#7B249F
secondary
#7BC15E
accent
#E64272
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B249F

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

Preview Lab → · Contrast checker → · Palette generator →

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