#761FAC#761FAC

#761FAC is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.4% C 0.206 H 307.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#761FAC
RGBrgb(118, 31, 172)
HSLhsl(277, 69%, 40%)
HSVhsv(277, 82%, 67%)
CMYKcmyk(31.4%, 82%, 0%, 32.5%)
CIE-LABlab(33.58, 58.89, -57.41)
CIE-LCHlch(33.58, 82.24, 315.73°)
OKLaboklab(45.44% 0.1262 -0.1633)
OKLCHoklch(45.44% 0.206 307.7)
XYZxyz(15.4060, 7.8103, 39.7177)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761FAC #55AC1F
analogous
#2F1FAC #761FAC #AC1F9C
triadic
#761FAC #AC761F #1FAC76
tetradic
#761FAC #AC2F1F #55AC1F #1F9CAC
square
#761FAC #AC2F1F #55AC1F #1F9CAC
split-complementary
#761FAC #9CAC1F #1FAC2F
monochromatic
#2F0C44 #521678 #761FAC #982FD9 #B263E3

Accessibility & contrast

On white

8.20
#761FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#761FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761FAC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761FAC#FFFFFF#000000##FFFFFF
##761FAC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#6D4567
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #761fac;
/* rgb */ color: rgb(118, 31, 172);
/* oklch */ color: oklch(45.4% 0.206 307.7);
Tailwind
colors: {
  custom: {
    50: '#a367c6',
    500: '#761fac',
    950: '#000000',
  },
}
SCSS
$custom: #761fac;
$custom-light: #a367c6;
$custom-dark: #000000;
JSON
{
  "hex": "#761fac",
  "rgb": {
    "r": 118,
    "g": 31,
    "b": 172
  },
  "hsl": {
    "h": 277.021,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.20642,
    "h": 307.7
  },
  "luminance": 0.0781
}

Semantic roles & 50–950 ramp

primary
#761FAC
secondary
#87C85F
accent
#EC3C7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #761FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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