#762795#762795

#762795 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.177 H 314.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#762795
RGBrgb(118, 39, 149)
HSLhsl(283, 59%, 37%)
HSVhsv(283, 74%, 58%)
CMYKcmyk(20.8%, 73.8%, 0%, 41.6%)
CIE-LABlab(32.86, 51.05, -44.66)
CIE-LCHlch(32.86, 67.83, 318.82°)
OKLaboklab(44.38% 0.1239 -0.1259)
OKLCHoklch(44.38% 0.177 314.5)
XYZxyz(13.6206, 7.4730, 29.1529)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762795 #469527
analogous
#3F2795 #762795 #95277D
triadic
#762795 #957627 #279576
tetradic
#762795 #953F27 #469527 #277D95
square
#762795 #953F27 #469527 #277D95
split-complementary
#762795 #7D9527 #27953F
monochromatic
#290E34 #501A64 #762795 #9C34C6 #B561D6

Accessibility & contrast

On white

8.42
#762795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#762795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762795
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762795#FFFFFF#000000##FFFFFF
##7627951.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#214F93
Tritanopia (blue-blind)
#733F5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #762795;
/* rgb */ color: rgb(118, 39, 149);
/* oklch */ color: oklch(44.4% 0.177 314.5);
Tailwind
colors: {
  custom: {
    50: '#a169b5',
    500: '#762795',
    950: '#000000',
  },
}
SCSS
$custom: #762795;
$custom-light: #a169b5;
$custom-dark: #000000;
JSON
{
  "hex": "#762795",
  "rgb": {
    "r": 118,
    "g": 39,
    "b": 149
  },
  "hsl": {
    "h": 283.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44382,
    "c": 0.17666,
    "h": 314.5
  },
  "luminance": 0.07473
}

Semantic roles & 50–950 ramp

primary
#762795
secondary
#77BB5D
accent
#E24672
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #762795

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

Preview Lab → · Contrast checker → · Palette generator →

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