#762EB8#762EB8

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

Color values

HEX#762EB8
RGBrgb(118, 46, 184)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 72%)
CMYKcmyk(35.9%, 75%, 0%, 27.8%)
CIE-LABlab(36.49, 55.99, -59.81)
CIE-LCHlch(36.49, 81.93, 313.11°)
OKLaboklab(47.77% 0.1109 -0.1705)
OKLCHoklch(47.77% 0.203 303)
XYZxyz(17.0979, 9.2662, 46.2259)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB8 #70B82E
analogous
#312EB8 #762EB8 #B82EB5
triadic
#762EB8 #B8762E #2EB876
tetradic
#762EB8 #B8312E #70B82E #2EB5B8
square
#762EB8 #B8312E #70B82E #2EB5B8
split-complementary
#762EB8 #B5B82E #2EB831
monochromatic
#371656 #572287 #762EB8 #9450D3 #B281DF

Accessibility & contrast

On white

7.36
#762EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#762EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB8#FFFFFF#000000##FFFFFF
##762EB81.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#685171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762eb8;
/* rgb */ color: rgb(118, 46, 184);
/* oklch */ color: oklch(47.8% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#a36ece',
    500: '#762eb8',
    950: '#000000',
  },
}
SCSS
$custom: #762eb8;
$custom-light: #a36ece;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb8",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 271.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47772,
    "c": 0.20338,
    "h": 303
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#762EB8
secondary
#9FC879
accent
#E34590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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