#7B246E#7B246E

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

Color values

HEX#7B246E
RGBrgb(123, 36, 110)
HSLhsl(309, 55%, 31%)
HSVhsv(309, 71%, 48%)
CMYKcmyk(0%, 70.7%, 10.6%, 51.8%)
CIE-LABlab(30.88, 46.06, -23.41)
CIE-LCHlch(30.88, 51.66, 333.06°)
OKLaboklab(42.36% 0.1338 -0.0639)
OKLCHoklch(42.36% 0.148 334.5)
XYZxyz(11.6138, 6.5995, 15.4110)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B246E #247B31
analogous
#5C247B #7B246E #7B2442
triadic
#7B246E #6E7B24 #246E7B
tetradic
#7B246E #7B5C24 #247B31 #24427B
square
#7B246E #7B5C24 #247B31 #24427B
split-complementary
#7B246E #427B24 #247B5C
monochromatic
#1C0819 #4C1644 #7B246E #AA3298 #CB4EB9

Accessibility & contrast

On white

9.05
#7B246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B246E
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B246E#FFFFFF#000000##FFFFFF
##7B246E1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234070
Deuteranopia (green-blind)
#414D6C
Tritanopia (blue-blind)
#812B46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7b246e;
/* rgb */ color: rgb(123, 36, 110);
/* oklch */ color: oklch(42.4% 0.148 334.5);
Tailwind
colors: {
  custom: {
    50: '#a46798',
    500: '#7b246e',
    950: '#000000',
  },
}
SCSS
$custom: #7b246e;
$custom-light: #a46798;
$custom-dark: #000000;
JSON
{
  "hex": "#7b246e",
  "rgb": {
    "r": 123,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 308.966,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42359,
    "c": 0.14827,
    "h": 334.5
  },
  "luminance": 0.06598
}

Semantic roles & 50–950 ramp

primary
#7B246E
secondary
#4DAD5C
accent
#DE604A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B246E

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

Preview Lab → · Contrast checker → · Palette generator →

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