#7B249D#7B249D

#7B249D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 314.3°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7B249D
RGBrgb(123, 36, 157)
HSLhsl(283, 63%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(21.7%, 77.1%, 0%, 38.4%)
CIE-LABlab(33.79, 54.89, -48.00)
CIE-LCHlch(33.79, 72.92, 318.83°)
OKLaboklab(45.38% 0.1322 -0.1355)
OKLCHoklch(45.38% 0.189 314.3)
XYZxyz(14.8840, 7.9075, 32.6340)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B249D #469D24
analogous
#3E249D #7B249D #9D2483
triadic
#7B249D #9D7B24 #249D7B
tetradic
#7B249D #9D3E24 #469D24 #24839D
square
#7B249D #9D3E24 #469D24 #24839D
split-complementary
#7B249D #839D24 #249D3E
monochromatic
#2D0D39 #54196B #7B249D #A22FCF #B861DB

Accessibility & contrast

On white

8.14
#7B249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7B249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B249D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B249D#FFFFFF#000000##FFFFFF
##7B249D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1B529A
Tritanopia (blue-blind)
#78405F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b249d;
/* rgb */ color: rgb(123, 36, 157);
/* oklch */ color: oklch(45.4% 0.189 314.3);
Tailwind
colors: {
  custom: {
    50: '#a569bb',
    500: '#7b249d',
    950: '#000000',
  },
}
SCSS
$custom: #7b249d;
$custom-light: #a569bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b249d",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 283.14,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45375,
    "c": 0.18933,
    "h": 314.3
  },
  "luminance": 0.07907
}

Semantic roles & 50–950 ramp

primary
#7B249D
secondary
#79C05D
accent
#E64270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7B249D

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

Preview Lab → · Contrast checker → · Palette generator →

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