#762E95#762E95

#762E95 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.168 H 313.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#762E95
RGBrgb(118, 46, 149)
HSLhsl(282, 53%, 38%)
HSVhsv(282, 69%, 58%)
CMYKcmyk(20.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(33.93, 48.02, -42.94)
CIE-LCHlch(33.93, 64.42, 318.20°)
OKLaboklab(45.15% 0.1163 -0.1209)
OKLCHoklch(45.15% 0.168 313.9)
XYZxyz(13.8721, 7.9759, 29.2367)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762E95 #4D952E
analogous
#422E95 #762E95 #952E80
triadic
#762E95 #95762E #2E9576
tetradic
#762E95 #95422E #4D952E #2E8095
square
#762E95 #95422E #4D952E #2E8095
split-complementary
#762E95 #80952E #2E9542
monochromatic
#2C1137 #512066 #762E95 #9B3DC3 #B36CD2

Accessibility & contrast

On white

8.09
#762E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#762E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762E95
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762E95#FFFFFF#000000##FFFFFF
##762E951.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#285293
Tritanopia (blue-blind)
#73435E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762e95;
/* rgb */ color: rgb(118, 46, 149);
/* oklch */ color: oklch(45.1% 0.168 313.9);
Tailwind
colors: {
  custom: {
    50: '#a16db5',
    500: '#762e95',
    950: '#000000',
  },
}
SCSS
$custom: #762e95;
$custom-light: #a16db5;
$custom-dark: #000000;
JSON
{
  "hex": "#762e95",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 281.942,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45147,
    "c": 0.16777,
    "h": 313.9
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#762E95
secondary
#7FB966
accent
#DC4C77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762E95

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

Preview Lab → · Contrast checker → · Palette generator →

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