#762897#762897

#762897 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.177 H 313.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#762897
RGBrgb(118, 40, 151)
HSLhsl(282, 58%, 37%)
HSVhsv(282, 74%, 59%)
CMYKcmyk(21.9%, 73.5%, 0%, 40.8%)
CIE-LABlab(33.14, 51.06, -45.43)
CIE-LCHlch(33.14, 68.35, 318.34°)
OKLaboklab(44.63% 0.1226 -0.1282)
OKLCHoklch(44.63% 0.177 313.7)
XYZxyz(13.8150, 7.6039, 30.0121)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762897 #499728
analogous
#3E2897 #762897 #972881
triadic
#762897 #977628 #289776
tetradic
#762897 #973E28 #499728 #288197
square
#762897 #973E28 #499728 #288197
split-complementary
#762897 #819728 #28973E
monochromatic
#2A0E36 #501B67 #762897 #9C35C7 #B464D6

Accessibility & contrast

On white

8.33
#762897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#762897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762897
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762897#FFFFFF#000000##FFFFFF
##7628971.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#73405D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #762897;
/* rgb */ color: rgb(118, 40, 151);
/* oklch */ color: oklch(44.6% 0.177 313.7);
Tailwind
colors: {
  custom: {
    50: '#a16ab6',
    500: '#762897',
    950: '#000000',
  },
}
SCSS
$custom: #762897;
$custom-light: #a16ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#762897",
  "rgb": {
    "r": 118,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 282.162,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44628,
    "c": 0.17739,
    "h": 313.7
  },
  "luminance": 0.07604
}

Semantic roles & 50–950 ramp

primary
#762897
secondary
#7BBC5F
accent
#E14675
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762897

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

Preview Lab → · Contrast checker → · Palette generator →

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