#762998#762998

#762998 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.177 H 313.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#762998
RGBrgb(118, 41, 152)
HSLhsl(282, 58%, 38%)
HSVhsv(282, 73%, 60%)
CMYKcmyk(22.4%, 73%, 0%, 40.4%)
CIE-LABlab(33.36, 50.86, -45.69)
CIE-LCHlch(33.36, 68.37, 318.07°)
OKLaboklab(44.8% 0.1215 -0.129)
OKLCHoklch(44.8% 0.177 313.3)
XYZxyz(13.9307, 7.7049, 30.4530)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762998 #4B9829
analogous
#3F2998 #762998 #982982
triadic
#762998 #987629 #299876
tetradic
#762998 #983F29 #4B9829 #298298
square
#762998 #983F29 #4B9829 #298298
split-complementary
#762998 #829829 #29983F
monochromatic
#2B0F38 #511C68 #762998 #9B36C8 #B366D6

Accessibility & contrast

On white

8.27
#762998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#762998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762998
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762998#FFFFFF#000000##FFFFFF
##7629981.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9B
Deuteranopia (green-blind)
#1F5096
Tritanopia (blue-blind)
#72415E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762998;
/* rgb */ color: rgb(118, 41, 152);
/* oklch */ color: oklch(44.8% 0.177 313.3);
Tailwind
colors: {
  custom: {
    50: '#a16ab7',
    500: '#762998',
    950: '#000000',
  },
}
SCSS
$custom: #762998;
$custom-light: #a16ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#762998",
  "rgb": {
    "r": 118,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 281.622,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44804,
    "c": 0.17715,
    "h": 313.3
  },
  "luminance": 0.07704
}

Semantic roles & 50–950 ramp

primary
#762998
secondary
#7DBC61
accent
#E14776
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762998

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

Preview Lab → · Contrast checker → · Palette generator →

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