#762E97#762E97

#762E97 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.170 H 313.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#762E97
RGBrgb(118, 46, 151)
HSLhsl(281, 53%, 39%)
HSVhsv(281, 70%, 59%)
CMYKcmyk(21.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(34.07, 48.46, -43.94)
CIE-LCHlch(34.07, 65.42, 317.80°)
OKLaboklab(45.29% 0.1161 -0.1239)
OKLCHoklch(45.29% 0.17 313.2)
XYZxyz(14.0331, 8.0403, 30.0849)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E97 #4F972E
analogous
#412E97 #762E97 #972E83
triadic
#762E97 #97762E #2E9776
tetradic
#762E97 #97412E #4F972E #2E8397
square
#762E97 #97412E #4F972E #2E8397
split-complementary
#762E97 #83972E #2E9741
monochromatic
#2D1139 #512068 #762E97 #9A3EC4 #B36DD2

Accessibility & contrast

On white

8.05
#762E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#762E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E97
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E97#FFFFFF#000000##FFFFFF
##762E971.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#73435F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762e97;
/* rgb */ color: rgb(118, 46, 151);
/* oklch */ color: oklch(45.3% 0.170 313.2);
Tailwind
colors: {
  custom: {
    50: '#a16db6',
    500: '#762e97',
    950: '#000000',
  },
}
SCSS
$custom: #762e97;
$custom-light: #a16db6;
$custom-dark: #000000;
JSON
{
  "hex": "#762e97",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 281.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.16979,
    "h": 313.2
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#762E97
secondary
#81BA67
accent
#DD4B79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762E97

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

Preview Lab → · Contrast checker → · Palette generator →

#762E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva