#762AB2#762AB2

#762AB2 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.202 H 305.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#762AB2
RGBrgb(118, 42, 178)
HSLhsl(274, 62%, 43%)
HSVhsv(274, 76%, 70%)
CMYKcmyk(33.7%, 76.4%, 0%, 30.2%)
CIE-LABlab(35.44, 56.24, -57.96)
CIE-LCHlch(35.44, 80.77, 314.14°)
OKLaboklab(46.89% 0.1158 -0.165)
OKLCHoklch(46.89% 0.202 305.1)
XYZxyz(16.3332, 8.7219, 42.9339)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB2 #66B22A
analogous
#322AB2 #762AB2 #B22AAA
triadic
#762AB2 #B2762A #2AB276
tetradic
#762AB2 #B2322A #66B22A #2AAAB2
square
#762AB2 #B2322A #66B22A #2AAAB2
split-complementary
#762AB2 #AAB22A #2AB232
monochromatic
#34134F #551E80 #762AB2 #9546D3 #B177DF

Accessibility & contrast

On white

7.65
#762AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762AB2
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB2#FFFFFF#000000##FFFFFF
##762AB21.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#6B4C6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762ab2;
/* rgb */ color: rgb(118, 42, 178);
/* oklch */ color: oklch(46.9% 0.202 305.1);
Tailwind
colors: {
  custom: {
    50: '#a36cca',
    500: '#762ab2',
    950: '#000000',
  },
}
SCSS
$custom: #762ab2;
$custom-light: #a36cca;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab2",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 273.529,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46886,
    "c": 0.20162,
    "h": 305.1
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#762AB2
secondary
#97C771
accent
#E5438A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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