#762D93#762D93

#762D93 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.167 H 314.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#762D93
RGBrgb(118, 45, 147)
HSLhsl(283, 53%, 38%)
HSVhsv(283, 69%, 58%)
CMYKcmyk(19.7%, 69.4%, 0%, 42.4%)
CIE-LABlab(33.64, 48.04, -42.19)
CIE-LCHlch(33.64, 63.94, 318.71°)
OKLaboklab(44.89% 0.1176 -0.1187)
OKLCHoklch(44.89% 0.167 314.7)
XYZxyz(13.6752, 7.8354, 28.3901)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762D93 #4A932D
analogous
#432D93 #762D93 #932D7D
triadic
#762D93 #93762D #2D9376
tetradic
#762D93 #93432D #4A932D #2D7D93
square
#762D93 #93432D #4A932D #2D7D93
split-complementary
#762D93 #7D932D #2D9343
monochromatic
#2B1035 #501F64 #762D93 #9C3BC2 #B469D1

Accessibility & contrast

On white

8.18
#762D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#762D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762D93
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762D93#FFFFFF#000000##FFFFFF
##762D931.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#295191
Tritanopia (blue-blind)
#74415C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #762d93;
/* rgb */ color: rgb(118, 45, 147);
/* oklch */ color: oklch(44.9% 0.167 314.7);
Tailwind
colors: {
  custom: {
    50: '#a16cb3',
    500: '#762d93',
    950: '#000000',
  },
}
SCSS
$custom: #762d93;
$custom-light: #a16cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#762d93",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 282.941,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.16709,
    "h": 314.7
  },
  "luminance": 0.07835
}

Semantic roles & 50–950 ramp

primary
#762D93
secondary
#7CB864
accent
#DD4B75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762D93

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

Preview Lab → · Contrast checker → · Palette generator →

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