#762AB4#762AB4

#762AB4 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.204 H 304.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#762AB4
RGBrgb(118, 42, 180)
HSLhsl(273, 62%, 44%)
HSVhsv(273, 77%, 71%)
CMYKcmyk(34.4%, 76.7%, 0%, 29.4%)
CIE-LABlab(35.60, 56.70, -58.89)
CIE-LCHlch(35.60, 81.75, 313.91°)
OKLaboklab(47.05% 0.1153 -0.1678)
OKLCHoklch(47.05% 0.204 304.5)
XYZxyz(16.5355, 8.8028, 43.9992)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB4 #68B42A
analogous
#312AB4 #762AB4 #B42AAD
triadic
#762AB4 #B4762A #2AB476
tetradic
#762AB4 #B4312A #68B42A #2AADB4
square
#762AB4 #B4312A #68B42A #2AADB4
split-complementary
#762AB4 #ADB42A #2AB431
monochromatic
#351351 #551E82 #762AB4 #9547D4 #B179E0

Accessibility & contrast

On white

7.61
#762AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB4
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB4#FFFFFF#000000##FFFFFF
##762AB41.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6A4D6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762ab4;
/* rgb */ color: rgb(118, 42, 180);
/* oklch */ color: oklch(47.0% 0.204 304.5);
Tailwind
colors: {
  custom: {
    50: '#a36ccb',
    500: '#762ab4',
    950: '#000000',
  },
}
SCSS
$custom: #762ab4;
$custom-light: #a36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab4",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 273.043,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47047,
    "c": 0.20359,
    "h": 304.5
  },
  "luminance": 0.08803
}

Semantic roles & 50–950 ramp

primary
#762AB4
secondary
#99C872
accent
#E5438C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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