#761BB3#761BB3

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

Color values

HEX#761BB3
RGBrgb(118, 27, 179)
HSLhsl(276, 74%, 40%)
HSVhsv(276, 85%, 70%)
CMYKcmyk(34.1%, 84.9%, 0%, 29.8%)
CIE-LABlab(33.75, 61.61, -61.32)
CIE-LCHlch(33.75, 86.92, 315.14°)
OKLaboklab(45.73% 0.1268 -0.1748)
OKLCHoklch(45.73% 0.216 306)
XYZxyz(15.9980, 7.8902, 43.3193)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761BB3 #58B31B
analogous
#2A1BB3 #761BB3 #B31BA4
triadic
#761BB3 #B3761B #1BB376
tetradic
#761BB3 #B32A1B #58B31B #1BA4B3
square
#761BB3 #B32A1B #58B31B #1BA4B3
split-complementary
#761BB3 #A4B31B #1BB32A
monochromatic
#300B49 #53137E #761BB3 #972CDF #B161E7

Accessibility & contrast

On white

8.15
#761BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#761BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761BB3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761BB3#FFFFFF#000000##FFFFFF
##761BB31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#6B476A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #761bb3;
/* rgb */ color: rgb(118, 27, 179);
/* oklch */ color: oklch(45.7% 0.216 306.0);
Tailwind
colors: {
  custom: {
    50: '#a466cb',
    500: '#761bb3',
    950: '#000000',
  },
}
SCSS
$custom: #761bb3;
$custom-light: #a466cb;
$custom-dark: #000000;
JSON
{
  "hex": "#761bb3",
  "rgb": {
    "r": 118,
    "g": 27,
    "b": 179
  },
  "hsl": {
    "h": 275.921,
    "s": 73.786,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45734,
    "c": 0.21595,
    "h": 306
  },
  "luminance": 0.0789
}

Semantic roles & 50–950 ramp

primary
#761BB3
secondary
#8ACC5E
accent
#F03782
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100613
muted
#7F7A82

Preview Lab

Preview with #761BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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