#762198#762198

#762198 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.186 H 313.9°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#762198
RGBrgb(118, 33, 152)
HSLhsl(283, 64%, 36%)
HSVhsv(283, 78%, 60%)
CMYKcmyk(22.4%, 78.3%, 0%, 40.4%)
CIE-LABlab(32.27, 53.97, -47.45)
CIE-LCHlch(32.27, 71.86, 318.68°)
OKLaboklab(44.03% 0.1291 -0.1341)
OKLCHoklch(44.03% 0.186 313.9)
XYZxyz(13.6816, 7.2067, 30.3700)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762198 #439821
analogous
#3B2198 #762198 #98217F
triadic
#762198 #987621 #219876
tetradic
#762198 #983B21 #439821 #217F98
square
#762198 #983B21 #439821 #217F98
split-complementary
#762198 #7F9821 #21983B
monochromatic
#280B33 #4F1666 #762198 #9D2CCA #B659DB

Accessibility & contrast

On white

8.60
#762198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#762198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762198
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762198#FFFFFF#000000##FFFFFF
##7621981.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762198;
/* rgb */ color: rgb(118, 33, 152);
/* oklch */ color: oklch(44.0% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#a267b7',
    500: '#762198',
    950: '#000000',
  },
}
SCSS
$custom: #762198;
$custom-light: #a267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#762198",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 282.857,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.18616,
    "h": 313.9
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#762198
secondary
#74BF56
accent
#E74070
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #762198

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

Preview Lab → · Contrast checker → · Palette generator →

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