#762FB4#762FB4

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

Color values

HEX#762FB4
RGBrgb(118, 47, 180)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(34.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(36.33, 54.63, -57.71)
CIE-LCHlch(36.33, 79.47, 313.43°)
OKLaboklab(47.56% 0.1108 -0.1643)
OKLCHoklch(47.56% 0.198 304)
XYZxyz(16.7240, 9.1799, 44.0620)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB4 #6DB42F
analogous
#342FB4 #762FB4 #B42FB0
triadic
#762FB4 #B4762F #2FB476
tetradic
#762FB4 #B4342F #6DB42F #2FB0B4
square
#762FB4 #B4342F #6DB42F #2FB0B4
split-complementary
#762FB4 #B0B42F #2FB434
monochromatic
#361653 #562283 #762FB4 #944FD1 #B280DE

Accessibility & contrast

On white

7.40
#762FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762FB4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB4#FFFFFF#000000##FFFFFF
##762FB41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#6A506F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762fb4;
/* rgb */ color: rgb(118, 47, 180);
/* oklch */ color: oklch(47.6% 0.198 304.0);
Tailwind
colors: {
  custom: {
    50: '#a36ecb',
    500: '#762fb4',
    950: '#000000',
  },
}
SCSS
$custom: #762fb4;
$custom-light: #a36ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb4",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 272.03,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.19819,
    "h": 304
  },
  "luminance": 0.0918
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #762FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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