#762ABA#762ABA

#762ABA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.210 H 302.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#762ABA
RGBrgb(118, 42, 186)
HSLhsl(272, 63%, 45%)
HSVhsv(272, 77%, 73%)
CMYKcmyk(36.6%, 77.4%, 0%, 27.1%)
CIE-LABlab(36.09, 58.09, -61.66)
CIE-LCHlch(36.09, 84.71, 313.29°)
OKLaboklab(47.54% 0.1139 -0.1759)
OKLCHoklch(47.54% 0.21 302.9)
XYZxyz(17.1600, 9.0526, 47.2881)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762ABA #6EBA2A
analogous
#2E2ABA #762ABA #BA2AB6
triadic
#762ABA #BA762A #2ABA76
tetradic
#762ABA #BA2E2A #6EBA2A #2AB6BA
square
#762ABA #BA2E2A #6EBA2A #2AB6BA
split-complementary
#762ABA #B6BA2A #2ABA2E
monochromatic
#371356 #561F88 #762ABA #944BD6 #B27DE2

Accessibility & contrast

On white

7.47
#762ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#762ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762ABA
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762ABA#FFFFFF#000000##FFFFFF
##762ABA1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#685071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762aba;
/* rgb */ color: rgb(118, 42, 186);
/* oklch */ color: oklch(47.5% 0.210 302.9);
Tailwind
colors: {
  custom: {
    50: '#a46cd0',
    500: '#762aba',
    950: '#000000',
  },
}
SCSS
$custom: #762aba;
$custom-light: #a46cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#762aba",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 271.667,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.20954,
    "h": 302.9
  },
  "luminance": 0.09053
}

Semantic roles & 50–950 ramp

primary
#762ABA
secondary
#9ECA76
accent
#E6428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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