#761CB4#761CB4

#761CB4 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.9% C 0.216 H 305.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#761CB4
RGBrgb(118, 28, 180)
HSLhsl(276, 73%, 41%)
HSVhsv(276, 84%, 71%)
CMYKcmyk(34.4%, 84.4%, 0%, 29.4%)
CIE-LABlab(33.94, 61.54, -61.61)
CIE-LCHlch(33.94, 87.08, 314.97°)
OKLaboklab(45.89% 0.1259 -0.1757)
OKLCHoklch(45.89% 0.216 305.6)
XYZxyz(16.1228, 7.9775, 43.8616)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761CB4 #5AB41C
analogous
#2A1CB4 #761CB4 #B41CA6
triadic
#761CB4 #B4761C #1CB476
tetradic
#761CB4 #B42A1C #5AB41C #1CA6B4
square
#761CB4 #B42A1C #5AB41C #1CA6B4
split-complementary
#761CB4 #A6B41C #1CB42A
monochromatic
#310C4A #53147F #761CB4 #972FDF #B164E7

Accessibility & contrast

On white

8.09
#761CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#761CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761CB4
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761CB4#FFFFFF#000000##FFFFFF
##761CB41.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#6A486B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #761cb4;
/* rgb */ color: rgb(118, 28, 180);
/* oklch */ color: oklch(45.9% 0.216 305.6);
Tailwind
colors: {
  custom: {
    50: '#a466cc',
    500: '#761cb4',
    950: '#000000',
  },
}
SCSS
$custom: #761cb4;
$custom-light: #a466cc;
$custom-dark: #000000;
JSON
{
  "hex": "#761cb4",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 275.526,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45886,
    "c": 0.21612,
    "h": 305.6
  },
  "luminance": 0.07977
}

Semantic roles & 50–950 ramp

primary
#761CB4
secondary
#8CCC60
accent
#F03883
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #761CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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