#762EB2#762EB2

#762EB2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.197 H 304.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#762EB2
RGBrgb(118, 46, 178)
HSLhsl(273, 59%, 44%)
HSVhsv(273, 74%, 70%)
CMYKcmyk(33.7%, 74.2%, 0%, 30.2%)
CIE-LABlab(36.02, 54.59, -57.02)
CIE-LCHlch(36.02, 78.94, 313.75°)
OKLaboklab(47.29% 0.1122 -0.1623)
OKLCHoklch(47.29% 0.197 304.6)
XYZxyz(16.4823, 9.0200, 42.9836)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB2 #6AB22E
analogous
#342EB2 #762EB2 #B22EAC
triadic
#762EB2 #B2762E #2EB276
tetradic
#762EB2 #B2342E #6AB22E #2EACB2
square
#762EB2 #B2342E #6AB22E #2EACB2
split-complementary
#762EB2 #ACB22E #2EB234
monochromatic
#361551 #562181 #762EB2 #954CD1 #B27DDD

Accessibility & contrast

On white

7.49
#762EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#762EB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB2#FFFFFF#000000##FFFFFF
##762EB21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#6B4E6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762eb2;
/* rgb */ color: rgb(118, 46, 178);
/* oklch */ color: oklch(47.3% 0.197 304.6);
Tailwind
colors: {
  custom: {
    50: '#a36eca',
    500: '#762eb2',
    950: '#000000',
  },
}
SCSS
$custom: #762eb2;
$custom-light: #a36eca;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb2",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 272.727,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47294,
    "c": 0.19728,
    "h": 304.6
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#762EB2
secondary
#9AC676
accent
#E2468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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