#762AB8#762AB8

#762AB8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.208 H 303.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#762AB8
RGBrgb(118, 42, 184)
HSLhsl(272, 63%, 44%)
HSVhsv(272, 77%, 72%)
CMYKcmyk(35.9%, 77.2%, 0%, 27.8%)
CIE-LABlab(35.92, 57.62, -60.74)
CIE-LCHlch(35.92, 83.72, 313.49°)
OKLaboklab(47.37% 0.1144 -0.1732)
OKLCHoklch(47.37% 0.208 303.4)
XYZxyz(16.9489, 8.9682, 46.1762)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB8 #6CB82A
analogous
#2F2AB8 #762AB8 #B82AB3
triadic
#762AB8 #B8762A #2AB876
tetradic
#762AB8 #B82F2A #6CB82A #2AB3B8
square
#762AB8 #B82F2A #6CB82A #2AB3B8
split-complementary
#762AB8 #B3B82A #2AB82F
monochromatic
#361354 #561F86 #762AB8 #954AD6 #B27BE1

Accessibility & contrast

On white

7.52
#762AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#762AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB8
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB8#FFFFFF#000000##FFFFFF
##762AB81.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#694F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762ab8;
/* rgb */ color: rgb(118, 42, 184);
/* oklch */ color: oklch(47.4% 0.208 303.4);
Tailwind
colors: {
  custom: {
    50: '#a46cce',
    500: '#762ab8',
    950: '#000000',
  },
}
SCSS
$custom: #762ab8;
$custom-light: #a46cce;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab8",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 272.113,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.20756,
    "h": 303.4
  },
  "luminance": 0.08968
}

Semantic roles & 50–950 ramp

primary
#762AB8
secondary
#9CC975
accent
#E6428E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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