#762EAC#762EAC

#762EAC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.191 H 306.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#762EAC
RGBrgb(118, 46, 172)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31.4%, 73.3%, 0%, 32.5%)
CIE-LABlab(35.57, 53.19, -54.19)
CIE-LCHlch(35.57, 75.94, 314.47°)
OKLaboklab(46.83% 0.1133 -0.154)
OKLCHoklch(46.83% 0.191 306.3)
XYZxyz(15.8930, 8.7843, 39.8800)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EAC #64AC2E
analogous
#372EAC #762EAC #AC2EA3
triadic
#762EAC #AC762E #2EAC76
tetradic
#762EAC #AC372E #64AC2E #2EA3AC
square
#762EAC #AC372E #64AC2E #2EA3AC
split-complementary
#762EAC #A3AC2E #2EAC37
monochromatic
#34144B #55217C #762EAC #9549CE #B179DB

Accessibility & contrast

On white

7.62
#762EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EAC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EAC#FFFFFF#000000##FFFFFF
##762EAC1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#6D4C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762eac;
/* rgb */ color: rgb(118, 46, 172);
/* oklch */ color: oklch(46.8% 0.191 306.3);
Tailwind
colors: {
  custom: {
    50: '#a26ec6',
    500: '#762eac',
    950: '#000000',
  },
}
SCSS
$custom: #762eac;
$custom-light: #a26ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#762eac",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 274.286,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.19116,
    "h": 306.3
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#762EAC
secondary
#95C372
accent
#E14789
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762EAC

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

Preview Lab → · Contrast checker → · Palette generator →

#762EAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva