#762FB7#762FB7

#762FB7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.201 H 303.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#762FB7
RGBrgb(118, 47, 183)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 74%, 72%)
CMYKcmyk(35.5%, 74.3%, 0%, 28.2%)
CIE-LABlab(36.56, 55.33, -59.11)
CIE-LCHlch(36.56, 80.97, 313.11°)
OKLaboklab(47.8% 0.1102 -0.1684)
OKLCHoklch(47.8% 0.201 303.2)
XYZxyz(17.0330, 9.3035, 45.6890)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB7 #70B72F
analogous
#322FB7 #762FB7 #B72FB4
triadic
#762FB7 #B7762F #2FB776
tetradic
#762FB7 #B7322F #70B72F #2FB4B7
square
#762FB7 #B7322F #70B72F #2FB4B7
split-complementary
#762FB7 #B4B72F #2FB732
monochromatic
#371656 #572286 #762FB7 #9451D2 #B282DF

Accessibility & contrast

On white

7.34
#762FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#762FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB7#FFFFFF#000000##FFFFFF
##762FB71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#695171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762fb7;
/* rgb */ color: rgb(118, 47, 183);
/* oklch */ color: oklch(47.8% 0.201 303.2);
Tailwind
colors: {
  custom: {
    50: '#a36fce',
    500: '#762fb7',
    950: '#000000',
  },
}
SCSS
$custom: #762fb7;
$custom-light: #a36fce;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb7",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 271.324,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.20127,
    "h": 303.2
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#762FB7
secondary
#9FC87A
accent
#E24590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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