#762DB6#762DB6

#762DB6 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.202 H 303.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#762DB6
RGBrgb(118, 45, 182)
HSLhsl(272, 60%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(35.2%, 75.3%, 0%, 28.6%)
CIE-LABlab(36.19, 55.94, -59.13)
CIE-LCHlch(36.19, 81.40, 313.42°)
OKLaboklab(47.51% 0.1122 -0.1685)
OKLCHoklch(47.51% 0.202 303.7)
XYZxyz(16.8511, 9.1057, 45.1167)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB6 #6DB62D
analogous
#322DB6 #762DB6 #B62DB1
triadic
#762DB6 #B6762D #2DB676
tetradic
#762DB6 #B6322D #6DB62D #2DB1B6
square
#762DB6 #B6322D #6DB62D #2DB1B6
split-complementary
#762DB6 #B1B62D #2DB632
monochromatic
#361554 #562185 #762DB6 #944DD3 #B27EDF

Accessibility & contrast

On white

7.44
#762DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#762DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DB6
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DB6#FFFFFF#000000##FFFFFF
##762DB61.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#695070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762db6;
/* rgb */ color: rgb(118, 45, 182);
/* oklch */ color: oklch(47.5% 0.202 303.7);
Tailwind
colors: {
  custom: {
    50: '#a36dcd',
    500: '#762db6',
    950: '#000000',
  },
}
SCSS
$custom: #762db6;
$custom-light: #a36dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#762db6",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 271.971,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47508,
    "c": 0.20244,
    "h": 303.7
  },
  "luminance": 0.09106
}

Semantic roles & 50–950 ramp

primary
#762DB6
secondary
#9DC877
accent
#E3448F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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