#762FB5#762FB5

#762FB5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.199 H 303.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#762FB5
RGBrgb(118, 47, 181)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(34.8%, 74%, 0%, 29%)
CIE-LABlab(36.41, 54.86, -58.18)
CIE-LCHlch(36.41, 79.97, 313.32°)
OKLaboklab(47.64% 0.1106 -0.1657)
OKLCHoklch(47.64% 0.199 303.7)
XYZxyz(16.8263, 9.2208, 44.6004)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB5 #6EB52F
analogous
#332FB5 #762FB5 #B52FB1
triadic
#762FB5 #B5762F #2FB576
tetradic
#762FB5 #B5332F #6EB52F #2FB1B5
square
#762FB5 #B5332F #6EB52F #2FB1B5
split-complementary
#762FB5 #B1B52F #2FB533
monochromatic
#371654 #562284 #762FB5 #9450D1 #B280DE

Accessibility & contrast

On white

7.38
#762FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#762FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB5
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB5#FFFFFF#000000##FFFFFF
##762FB51.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#695070
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762fb5;
/* rgb */ color: rgb(118, 47, 181);
/* oklch */ color: oklch(47.6% 0.199 303.7);
Tailwind
colors: {
  custom: {
    50: '#a36ecc',
    500: '#762fb5',
    950: '#000000',
  },
}
SCSS
$custom: #762fb5;
$custom-light: #a36ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb5",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 271.791,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47638,
    "c": 0.19922,
    "h": 303.7
  },
  "luminance": 0.09221
}

Semantic roles & 50–950 ramp

primary
#762FB5
secondary
#9EC779
accent
#E2468F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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