#7E3085#7E3085

#7E3085 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.153 H 324.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7E3085
RGBrgb(126, 48, 133)
HSLhsl(295, 47%, 35%)
HSVhsv(295, 64%, 52%)
CMYKcmyk(5.3%, 63.9%, 0%, 47.8%)
CIE-LABlab(34.49, 45.78, -32.14)
CIE-LCHlch(34.49, 55.94, 324.93°)
OKLaboklab(45.48% 0.1243 -0.0892)
OKLCHoklch(45.48% 0.153 324.3)
XYZxyz(13.8944, 8.2438, 23.0451)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E3085 #378530
analogous
#533085 #7E3085 #853061
triadic
#7E3085 #857E30 #30857E
tetradic
#7E3085 #855330 #378530 #306185
square
#7E3085 #855330 #378530 #306185
split-complementary
#7E3085 #618530 #308553
monochromatic
#29102B #532058 #7E3085 #A940B2 #C067C8

Accessibility & contrast

On white

7.93
#7E3085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7E3085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E3085
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E3085#FFFFFF#000000##FFFFFF
##7E30851.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214B88
Deuteranopia (green-blind)
#3E5483
Tritanopia (blue-blind)
#813C56
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7e3085;
/* rgb */ color: rgb(126, 48, 133);
/* oklch */ color: oklch(45.5% 0.153 324.3);
Tailwind
colors: {
  custom: {
    50: '#a66ea9',
    500: '#7e3085',
    950: '#000000',
  },
}
SCSS
$custom: #7e3085;
$custom-light: #a66ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e3085",
  "rgb": {
    "r": 126,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 295.059,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45477,
    "c": 0.15296,
    "h": 324.3
  },
  "luminance": 0.08243
}

Semantic roles & 50–950 ramp

primary
#7E3085
secondary
#68AF61
accent
#D7515C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E3085

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

Preview Lab → · Contrast checker → · Palette generator →

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