#7B246D#7B246D

#7B246D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.147 H 335.0°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7B246D
RGBrgb(123, 36, 109)
HSLhsl(310, 55%, 31%)
HSVhsv(310, 71%, 48%)
CMYKcmyk(0%, 70.7%, 11.4%, 51.8%)
CIE-LABlab(30.83, 45.89, -22.85)
CIE-LCHlch(30.83, 51.26, 333.53°)
OKLaboklab(42.31% 0.1337 -0.0623)
OKLCHoklch(42.31% 0.147 335)
XYZxyz(11.5597, 6.5778, 15.1259)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B246D #247B32
analogous
#5D247B #7B246D #7B2441
triadic
#7B246D #6D7B24 #246D7B
tetradic
#7B246D #7B5D24 #247B32 #24417B
square
#7B246D #7B5D24 #247B32 #24417B
split-complementary
#7B246D #417B24 #247B5D
monochromatic
#1C0819 #4C1643 #7B246D #AA3297 #CB4EB7

Accessibility & contrast

On white

9.07
#7B246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7B246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B246D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B246D#FFFFFF#000000##FFFFFF
##7B246D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406F
Deuteranopia (green-blind)
#414D6B
Tritanopia (blue-blind)
#812A45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b246d;
/* rgb */ color: rgb(123, 36, 109);
/* oklch */ color: oklch(42.3% 0.147 335.0);
Tailwind
colors: {
  custom: {
    50: '#a46797',
    500: '#7b246d',
    950: '#000000',
  },
}
SCSS
$custom: #7b246d;
$custom-light: #a46797;
$custom-dark: #000000;
JSON
{
  "hex": "#7b246d",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 309.655,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42305,
    "c": 0.14748,
    "h": 335
  },
  "luminance": 0.06577
}

Semantic roles & 50–950 ramp

primary
#7B246D
secondary
#4DAD5D
accent
#DE624A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B246D

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

Preview Lab → · Contrast checker → · Palette generator →

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