#762F94#762F94

#762F94 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.165 H 314.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#762F94
RGBrgb(118, 47, 148)
HSLhsl(282, 52%, 38%)
HSVhsv(282, 68%, 58%)
CMYKcmyk(20.3%, 68.2%, 0%, 42%)
CIE-LABlab(34.03, 47.35, -42.17)
CIE-LCHlch(34.03, 63.40, 318.31°)
OKLaboklab(45.2% 0.1152 -0.1187)
OKLCHoklch(45.2% 0.165 314.1)
XYZxyz(13.8321, 8.0231, 28.8312)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762F94 #4D942F
analogous
#432F94 #762F94 #942F7F
triadic
#762F94 #94762F #2F9476
tetradic
#762F94 #94432F #4D942F #2F7F94
square
#762F94 #94432F #4D942F #2F7F94
split-complementary
#762F94 #7F942F #2F9443
monochromatic
#2C1137 #512066 #762F94 #9B3EC2 #B36DD1

Accessibility & contrast

On white

8.06
#762F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762F94
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762F94#FFFFFF#000000##FFFFFF
##762F941.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#73435D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762f94;
/* rgb */ color: rgb(118, 47, 148);
/* oklch */ color: oklch(45.2% 0.165 314.1);
Tailwind
colors: {
  custom: {
    50: '#a16db4',
    500: '#762f94',
    950: '#000000',
  },
}
SCSS
$custom: #762f94;
$custom-light: #a16db4;
$custom-dark: #000000;
JSON
{
  "hex": "#762f94",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 282.178,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.1654,
    "h": 314.1
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#762F94
secondary
#7FB867
accent
#DB4D77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762F94

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

Preview Lab → · Contrast checker → · Palette generator →

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