#761CAB#761CAB

#761CAB is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.208 H 308.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#761CAB
RGBrgb(118, 28, 171)
HSLhsl(278, 72%, 39%)
HSVhsv(278, 84%, 67%)
CMYKcmyk(31%, 83.6%, 0%, 32.9%)
CIE-LABlab(33.18, 59.61, -57.46)
CIE-LCHlch(33.18, 82.80, 316.05°)
OKLaboklab(45.13% 0.1286 -0.1635)
OKLCHoklch(45.13% 0.208 308.2)
XYZxyz(15.2356, 7.6226, 39.1889)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#761CAB #51AB1C
analogous
#2F1CAB #761CAB #AB1C99
triadic
#761CAB #AB761C #1CAB76
tetradic
#761CAB #AB2F1C #51AB1C #1C99AB
square
#761CAB #AB2F1C #51AB1C #1C99AB
split-complementary
#761CAB #99AB1C #1CAB2F
monochromatic
#2D0B42 #521376 #761CAB #9928DC #B25DE4

Accessibility & contrast

On white

8.32
#761CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#761CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #761CAB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##761CAB#FFFFFF#000000##FFFFFF
##761CAB1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#6D4366
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #761cab;
/* rgb */ color: rgb(118, 28, 171);
/* oklch */ color: oklch(45.1% 0.208 308.2);
Tailwind
colors: {
  custom: {
    50: '#a366c5',
    500: '#761cab',
    950: '#000000',
  },
}
SCSS
$custom: #761cab;
$custom-light: #a366c5;
$custom-dark: #000000;
JSON
{
  "hex": "#761cab",
  "rgb": {
    "r": 118,
    "g": 28,
    "b": 171
  },
  "hsl": {
    "h": 277.762,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.20799,
    "h": 308.2
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#761CAB
secondary
#83C95A
accent
#EF397C
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100613
muted
#7F7A82

Preview Lab

Preview with #761CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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