#762FAC#762FAC

#762FAC is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.9% C 0.190 H 306.2°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#762FAC
RGBrgb(118, 47, 172)
HSLhsl(274, 57%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31.4%, 72.7%, 0%, 32.5%)
CIE-LABlab(35.72, 52.76, -53.94)
CIE-LCHlch(35.72, 75.45, 314.37°)
OKLaboklab(46.94% 0.1123 -0.1532)
OKLCHoklch(46.94% 0.19 306.2)
XYZxyz(15.9325, 8.8633, 39.8932)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FAC #65AC2F
analogous
#372FAC #762FAC #AC2FA3
triadic
#762FAC #AC762F #2FAC76
tetradic
#762FAC #AC372F #65AC2F #2FA3AC
square
#762FAC #AC372F #65AC2F #2FA3AC
split-complementary
#762FAC #A3AC2F #2FAC37
monochromatic
#34154C #55227C #762FAC #954BCE #B17BDB

Accessibility & contrast

On white

7.57
#762FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#762FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FAC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FAC#FFFFFF#000000##FFFFFF
##762FAC1.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762fac;
/* rgb */ color: rgb(118, 47, 172);
/* oklch */ color: oklch(46.9% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#a26ec6',
    500: '#762fac',
    950: '#000000',
  },
}
SCSS
$custom: #762fac;
$custom-light: #a26ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#762fac",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 274.08,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46937,
    "c": 0.18999,
    "h": 306.2
  },
  "luminance": 0.08863
}

Semantic roles & 50–950 ramp

primary
#762FAC
secondary
#96C374
accent
#E0478A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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