#762BAC#762BAC

#762BAC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.195 H 306.7°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#762BAC
RGBrgb(118, 43, 172)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 67%)
CMYKcmyk(31.4%, 75%, 0%, 32.5%)
CIE-LABlab(35.12, 54.47, -54.91)
CIE-LCHlch(35.12, 77.34, 314.76°)
OKLaboklab(46.51% 0.1162 -0.1561)
OKLCHoklch(46.51% 0.195 306.7)
XYZxyz(15.7799, 8.5580, 39.8423)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BAC #61AC2B
analogous
#362BAC #762BAC #AC2BA1
triadic
#762BAC #AC762B #2BAC76
tetradic
#762BAC #AC362B #61AC2B #2BA1AC
square
#762BAC #AC362B #61AC2B #2BA1AC
split-complementary
#762BAC #A1AC2B #2BAC36
monochromatic
#33134A #541F7B #762BAC #9644D0 #B175DC

Accessibility & contrast

On white

7.74
#762BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#762BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BAC
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BAC#FFFFFF#000000##FFFFFF
##762BAC1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#6D4A6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762bac;
/* rgb */ color: rgb(118, 43, 172);
/* oklch */ color: oklch(46.5% 0.195 306.7);
Tailwind
colors: {
  custom: {
    50: '#a36cc6',
    500: '#762bac',
    950: '#000000',
  },
}
SCSS
$custom: #762bac;
$custom-light: #a36cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#762bac",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 274.884,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46512,
    "c": 0.19458,
    "h": 306.7
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#762BAC
secondary
#92C46F
accent
#E34587
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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