#762098#762098

#762098 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.187 H 314.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#762098
RGBrgb(118, 32, 152)
HSLhsl(283, 65%, 36%)
HSVhsv(283, 79%, 60%)
CMYKcmyk(22.4%, 78.9%, 0%, 40.4%)
CIE-LABlab(32.15, 54.32, -47.64)
CIE-LCHlch(32.15, 72.25, 318.75°)
OKLaboklab(43.95% 0.13 -0.1346)
OKLCHoklch(43.95% 0.187 314)
XYZxyz(13.6542, 7.1520, 30.3609)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762098 #429820
analogous
#3A2098 #762098 #98207E
triadic
#762098 #987620 #209876
tetradic
#762098 #983A20 #429820 #207E98
square
#762098 #983A20 #429820 #207E98
split-complementary
#762098 #7E9820 #20983A
monochromatic
#280B33 #4F1565 #762098 #9D2BCB #B657DC

Accessibility & contrast

On white

8.64
#762098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#762098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762098
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762098#FFFFFF#000000##FFFFFF
##7620981.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#154E95
Tritanopia (blue-blind)
#733C5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #762098;
/* rgb */ color: rgb(118, 32, 152);
/* oklch */ color: oklch(43.9% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#a266b7',
    500: '#762098',
    950: '#000000',
  },
}
SCSS
$custom: #762098;
$custom-light: #a266b7;
$custom-dark: #000000;
JSON
{
  "hex": "#762098",
  "rgb": {
    "r": 118,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 283,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43947,
    "c": 0.18717,
    "h": 314
  },
  "luminance": 0.07152
}

Semantic roles & 50–950 ramp

primary
#762098
secondary
#73BF54
accent
#E8406F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762098

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

Preview Lab → · Contrast checker → · Palette generator →

#762098 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva