#7A307E#7A307E

#7A307E is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.5% C 0.144 H 325.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7A307E
RGBrgb(122, 48, 126)
HSLhsl(297, 45%, 34%)
HSVhsv(297, 62%, 49%)
CMYKcmyk(3.2%, 61.9%, 0%, 50.6%)
CIE-LABlab(33.48, 43.36, -29.43)
CIE-LCHlch(33.48, 52.40, 325.83°)
OKLaboklab(44.49% 0.1189 -0.0814)
OKLCHoklch(44.49% 0.144 325.6)
XYZxyz(12.8486, 7.7586, 20.5554)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A307E #347E30
analogous
#53307E #7A307E #7E305B
triadic
#7A307E #7E7A30 #307E7A
tetradic
#7A307E #7E5330 #347E30 #305B7E
square
#7A307E #7E5330 #347E30 #305B7E
split-complementary
#7A307E #5B7E30 #307E53
monochromatic
#240E25 #4F1F52 #7A307E #A541AA #BF64C4

Accessibility & contrast

On white

8.23
#7A307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7A307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A307E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A307E#FFFFFF#000000##FFFFFF
##7A307E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244980
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#7D3B52
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a307e;
/* rgb */ color: rgb(122, 48, 126);
/* oklch */ color: oklch(44.5% 0.144 325.6);
Tailwind
colors: {
  custom: {
    50: '#a36da4',
    500: '#7a307e',
    950: '#000000',
  },
}
SCSS
$custom: #7a307e;
$custom-light: #a36da4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a307e",
  "rgb": {
    "r": 122,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 296.923,
    "s": 44.828,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4449,
    "c": 0.14413,
    "h": 325.6
  },
  "luminance": 0.07758
}

Semantic roles & 50–950 ramp

primary
#7A307E
secondary
#63AB5F
accent
#D5535A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #7A307E

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

Preview Lab → · Contrast checker → · Palette generator →

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