#761AB3#761AB3

#761AB3 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.7% C 0.217 H 306.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#761AB3
RGBrgb(118, 26, 179)
HSLhsl(276, 75%, 40%)
HSVhsv(276, 85%, 70%)
CMYKcmyk(34.1%, 85.5%, 0%, 29.8%)
CIE-LABlab(33.66, 61.89, -61.47)
CIE-LCHlch(33.66, 87.23, 315.20°)
OKLaboklab(45.67% 0.1275 -0.1752)
OKLCHoklch(45.67% 0.217 306)
XYZxyz(15.9755, 7.8452, 43.3117)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761AB3 #57B31A
analogous
#291AB3 #761AB3 #B31AA4
triadic
#761AB3 #B3761A #1AB376
tetradic
#761AB3 #B3291A #57B31A #1AA4B3
square
#761AB3 #B3291A #57B31A #1AA4B3
split-complementary
#761AB3 #A4B31A #1AB329
monochromatic
#300A48 #53127E #761AB3 #982AE0 #B260E8

Accessibility & contrast

On white

8.17
#761AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#761AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761AB3
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761AB3#FFFFFF#000000##FFFFFF
##761AB31.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#6B466A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #761ab3;
/* rgb */ color: rgb(118, 26, 179);
/* oklch */ color: oklch(45.7% 0.217 306.0);
Tailwind
colors: {
  custom: {
    50: '#a465cb',
    500: '#761ab3',
    950: '#000000',
  },
}
SCSS
$custom: #761ab3;
$custom-light: #a465cb;
$custom-dark: #000000;
JSON
{
  "hex": "#761ab3",
  "rgb": {
    "r": 118,
    "g": 26,
    "b": 179
  },
  "hsl": {
    "h": 276.078,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45668,
    "c": 0.21668,
    "h": 306
  },
  "luminance": 0.07845
}

Semantic roles & 50–950 ramp

primary
#761AB3
secondary
#89CC5D
accent
#F13781
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #761AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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