#762FB3#762FB3

#762FB3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.197 H 304.3°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#762FB3
RGBrgb(118, 47, 179)
HSLhsl(272, 58%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(34.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(36.25, 54.39, -57.24)
CIE-LCHlch(36.25, 78.96, 313.54°)
OKLaboklab(47.48% 0.111 -0.163)
OKLCHoklch(47.48% 0.197 304.3)
XYZxyz(16.6225, 9.1393, 43.5274)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB3 #6CB32F
analogous
#342FB3 #762FB3 #B32FAE
triadic
#762FB3 #B3762F #2FB376
tetradic
#762FB3 #B3342F #6CB32F #2FAEB3
square
#762FB3 #B3342F #6CB32F #2FAEB3
split-complementary
#762FB3 #AEB32F #2FB334
monochromatic
#361652 #562283 #762FB3 #954FD1 #B27FDD

Accessibility & contrast

On white

7.43
#762FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#762FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB3
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB3#FFFFFF#000000##FFFFFF
##762FB31.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#6A4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762fb3;
/* rgb */ color: rgb(118, 47, 179);
/* oklch */ color: oklch(47.5% 0.197 304.3);
Tailwind
colors: {
  custom: {
    50: '#a36ecb',
    500: '#762fb3',
    950: '#000000',
  },
}
SCSS
$custom: #762fb3;
$custom-light: #a36ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb3",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 272.273,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.19717,
    "h": 304.3
  },
  "luminance": 0.09139
}

Semantic roles & 50–950 ramp

primary
#762FB3
secondary
#9CC678
accent
#E2468E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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