#7B249B#7B249B

#7B249B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.187 H 315.0°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#7B249B
RGBrgb(123, 36, 155)
HSLhsl(284, 62%, 37%)
HSVhsv(284, 77%, 61%)
CMYKcmyk(20.6%, 76.8%, 0%, 39.2%)
CIE-LABlab(33.65, 54.48, -47.02)
CIE-LCHlch(33.65, 71.96, 319.21°)
OKLaboklab(45.23% 0.1325 -0.1327)
OKLCHoklch(45.23% 0.187 315)
XYZxyz(14.7147, 7.8398, 31.7421)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B249B #449B24
analogous
#40249B #7B249B #9B247F
triadic
#7B249B #9B7B24 #249B7B
tetradic
#7B249B #9B4024 #449B24 #247F9B
square
#7B249B #9B4024 #449B24 #247F9B
split-complementary
#7B249B #7F9B24 #249B40
monochromatic
#2C0D38 #541869 #7B249B #A230CD #B95FDA

Accessibility & contrast

On white

8.18
#7B249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B249B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B249B#FFFFFF#000000##FFFFFF
##7B249B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9E
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#783F5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7b249b;
/* rgb */ color: rgb(123, 36, 155);
/* oklch */ color: oklch(45.2% 0.187 315.0);
Tailwind
colors: {
  custom: {
    50: '#a569b9',
    500: '#7b249b',
    950: '#000000',
  },
}
SCSS
$custom: #7b249b;
$custom-light: #a569b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b249b",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 283.866,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4523,
    "c": 0.18749,
    "h": 315
  },
  "luminance": 0.07839
}

Semantic roles & 50–950 ramp

primary
#7B249B
secondary
#77BF5C
accent
#E5426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7B249B

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

Preview Lab → · Contrast checker → · Palette generator →

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