#762EB0#762EB0

#762EB0 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.1% C 0.195 H 305.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#762EB0
RGBrgb(118, 46, 176)
HSLhsl(273, 59%, 44%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33%, 73.9%, 0%, 31%)
CIE-LABlab(35.87, 54.12, -56.08)
CIE-LCHlch(35.87, 77.94, 313.98°)
OKLaboklab(47.14% 0.1125 -0.1595)
OKLCHoklch(47.14% 0.195 305.2)
XYZxyz(16.2829, 8.9402, 41.9337)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB0 #68B02E
analogous
#352EB0 #762EB0 #B02EA9
triadic
#762EB0 #B0762E #2EB076
tetradic
#762EB0 #B0352E #68B02E #2EA9B0
square
#762EB0 #B0352E #68B02E #2EA9B0
split-complementary
#762EB0 #A9B02E #2EB035
monochromatic
#35154F #55217F #762EB0 #954BD0 #B17CDD

Accessibility & contrast

On white

7.53
#762EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#762EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB0
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB0#FFFFFF#000000##FFFFFF
##762EB01.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#6B4E6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762eb0;
/* rgb */ color: rgb(118, 46, 176);
/* oklch */ color: oklch(47.1% 0.195 305.2);
Tailwind
colors: {
  custom: {
    50: '#a36ec8',
    500: '#762eb0',
    950: '#000000',
  },
}
SCSS
$custom: #762eb0;
$custom-light: #a36ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb0",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 273.231,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.19524,
    "h": 305.2
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#762EB0
secondary
#99C575
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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