#761BA7#761BA7

#761BA7 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.7% C 0.205 H 309.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#761BA7
RGBrgb(118, 27, 167)
HSLhsl(279, 72%, 38%)
HSVhsv(279, 84%, 65%)
CMYKcmyk(29.3%, 83.8%, 0%, 34.5%)
CIE-LABlab(32.76, 59.06, -55.76)
CIE-LCHlch(32.76, 81.22, 316.65°)
OKLaboklab(44.74% 0.1304 -0.1584)
OKLCHoklch(44.74% 0.205 309.5)
XYZxyz(14.8368, 7.4257, 37.2034)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761BA7 #4CA71B
analogous
#301BA7 #761BA7 #A71B92
triadic
#761BA7 #A7761B #1BA776
tetradic
#761BA7 #A7301B #4CA71B #1B92A7
square
#761BA7 #A7301B #4CA71B #1B92A7
split-complementary
#761BA7 #92A71B #1BA730
monochromatic
#2C0A3E #511272 #761BA7 #9B24DC #B358E4

Accessibility & contrast

On white

8.45
#761BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#761BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761BA7
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761BA7#FFFFFF#000000##FFFFFF
##761BA71.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAB
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#6F4163
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #761ba7;
/* rgb */ color: rgb(118, 27, 167);
/* oklch */ color: oklch(44.7% 0.205 309.5);
Tailwind
colors: {
  custom: {
    50: '#a365c2',
    500: '#761ba7',
    950: '#000000',
  },
}
SCSS
$custom: #761ba7;
$custom-light: #a365c2;
$custom-dark: #000000;
JSON
{
  "hex": "#761ba7",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 167
  },
  "hsl": {
    "h": 279,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44735,
    "c": 0.20521,
    "h": 309.5
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#761BA7
secondary
#7EC856
accent
#EF3979
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100612
muted
#7F7A81

Preview Lab

Preview with #761BA7

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

Preview Lab → · Contrast checker → · Palette generator →

#761BA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva