#762AB5#762AB5

#762AB5 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.205 H 304.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#762AB5
RGBrgb(118, 42, 181)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 77%, 71%)
CMYKcmyk(34.8%, 76.8%, 0%, 29%)
CIE-LABlab(35.68, 56.93, -59.36)
CIE-LCHlch(35.68, 82.25, 313.81°)
OKLaboklab(47.13% 0.1151 -0.1691)
OKLCHoklch(47.13% 0.205 304.2)
XYZxyz(16.6377, 8.8437, 44.5376)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB5 #69B52A
analogous
#302AB5 #762AB5 #B52AAE
triadic
#762AB5 #B5762A #2AB576
tetradic
#762AB5 #B5302A #69B52A #2AAEB5
square
#762AB5 #B5302A #69B52A #2AAEB5
split-complementary
#762AB5 #AEB52A #2AB530
monochromatic
#351352 #561E83 #762AB5 #9548D4 #B179E0

Accessibility & contrast

On white

7.58
#762AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762AB5
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB5#FFFFFF#000000##FFFFFF
##762AB51.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6A4E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762ab5;
/* rgb */ color: rgb(118, 42, 181);
/* oklch */ color: oklch(47.1% 0.205 304.2);
Tailwind
colors: {
  custom: {
    50: '#a36ccc',
    500: '#762ab5',
    950: '#000000',
  },
}
SCSS
$custom: #762ab5;
$custom-light: #a36ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab5",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 272.806,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47128,
    "c": 0.20459,
    "h": 304.2
  },
  "luminance": 0.08844
}

Semantic roles & 50–950 ramp

primary
#762AB5
secondary
#99C873
accent
#E5428C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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