#76338E#76338E

#76338E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.3% C 0.153 H 316.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#76338E
RGBrgb(118, 51, 142)
HSLhsl(284, 47%, 38%)
HSVhsv(284, 64%, 56%)
CMYKcmyk(16.9%, 64.1%, 0%, 44.3%)
CIE-LABlab(34.34, 44.13, -38.00)
CIE-LCHlch(34.34, 58.24, 319.27°)
OKLaboklab(45.3% 0.1105 -0.1065)
OKLCHoklch(45.3% 0.153 316.1)
XYZxyz(13.5368, 8.1727, 26.4504)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76338E #4B8E33
analogous
#49338E #76338E #8E3378
triadic
#76338E #8E7633 #338E76
tetradic
#76338E #8E4933 #4B8E33 #33788E
square
#76338E #8E4933 #4B8E33 #33788E
split-complementary
#76338E #788E33 #338E49
monochromatic
#2B1334 #512361 #76338E #9B43BB #B370CC

Accessibility & contrast

On white

7.97
#76338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#76338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76338E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76338E#FFFFFF#000000##FFFFFF
##76338E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#33538C
Tritanopia (blue-blind)
#75435C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #76338e;
/* rgb */ color: rgb(118, 51, 142);
/* oklch */ color: oklch(45.3% 0.153 316.1);
Tailwind
colors: {
  custom: {
    50: '#a06faf',
    500: '#76338e',
    950: '#000000',
  },
}
SCSS
$custom: #76338e;
$custom-light: #a06faf;
$custom-dark: #000000;
JSON
{
  "hex": "#76338e",
  "rgb": {
    "r": 118,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 284.176,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45296,
    "c": 0.15348,
    "h": 316.1
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#76338E
secondary
#7DB469
accent
#D75174
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #76338E

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

Preview Lab → · Contrast checker → · Palette generator →

#76338E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva