#762AB1#762AB1

#762AB1 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.201 H 305.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#762AB1
RGBrgb(118, 42, 177)
HSLhsl(274, 62%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(33.3%, 76.3%, 0%, 30.6%)
CIE-LABlab(35.36, 56.01, -57.50)
CIE-LCHlch(35.36, 80.27, 314.25°)
OKLaboklab(46.81% 0.116 -0.1637)
OKLCHoklch(46.81% 0.201 305.3)
XYZxyz(16.2332, 8.6819, 42.4070)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB1 #65B12A
analogous
#332AB1 #762AB1 #B12AA8
triadic
#762AB1 #B1762A #2AB176
tetradic
#762AB1 #B1332A #65B12A #2AA8B1
square
#762AB1 #B1332A #65B12A #2AA8B1
split-complementary
#762AB1 #A8B12A #2AB133
monochromatic
#34134E #551E80 #762AB1 #9545D3 #B177DF

Accessibility & contrast

On white

7.67
#762AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#762AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB1
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB1#FFFFFF#000000##FFFFFF
##762AB11.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0053AE
Tritanopia (blue-blind)
#6B4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762ab1;
/* rgb */ color: rgb(118, 42, 177);
/* oklch */ color: oklch(46.8% 0.201 305.3);
Tailwind
colors: {
  custom: {
    50: '#a36cc9',
    500: '#762ab1',
    950: '#000000',
  },
}
SCSS
$custom: #762ab1;
$custom-light: #a36cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab1",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 273.778,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46806,
    "c": 0.20063,
    "h": 305.3
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#762AB1
secondary
#96C670
accent
#E5438A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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