#7B246F#7B246F

#7B246F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.149 H 333.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7B246F
RGBrgb(123, 36, 111)
HSLhsl(308, 55%, 31%)
HSVhsv(308, 71%, 48%)
CMYKcmyk(0%, 70.7%, 9.8%, 51.8%)
CIE-LABlab(30.93, 46.22, -23.96)
CIE-LCHlch(30.93, 52.06, 332.60°)
OKLaboklab(42.41% 0.1339 -0.0655)
OKLCHoklch(42.41% 0.149 333.9)
XYZxyz(11.6686, 6.6214, 15.6993)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B246F #247B30
analogous
#5B247B #7B246F #7B2443
triadic
#7B246F #6F7B24 #246F7B
tetradic
#7B246F #7B5B24 #247B30 #24437B
square
#7B246F #7B5B24 #247B30 #24437B
split-complementary
#7B246F #437B24 #247B5B
monochromatic
#1C081A #4C1644 #7B246F #AA329A #CB4EBA

Accessibility & contrast

On white

9.04
#7B246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B246F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B246F#FFFFFF#000000##FFFFFF
##7B246F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224171
Deuteranopia (green-blind)
#404D6D
Tritanopia (blue-blind)
#812B46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b246f;
/* rgb */ color: rgb(123, 36, 111);
/* oklch */ color: oklch(42.4% 0.149 333.9);
Tailwind
colors: {
  custom: {
    50: '#a46798',
    500: '#7b246f',
    950: '#000000',
  },
}
SCSS
$custom: #7b246f;
$custom-light: #a46798;
$custom-dark: #000000;
JSON
{
  "hex": "#7b246f",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 308.276,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.14907,
    "h": 333.9
  },
  "luminance": 0.0662
}

Semantic roles & 50–950 ramp

primary
#7B246F
secondary
#4DAD5B
accent
#DE5E4A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7B246F

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

Preview Lab → · Contrast checker → · Palette generator →

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