#762EB3#762EB3

#762EB3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 304.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#762EB3
RGBrgb(118, 46, 179)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 70%)
CMYKcmyk(34.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(36.10, 54.82, -57.49)
CIE-LCHlch(36.10, 79.44, 313.64°)
OKLaboklab(47.37% 0.1119 -0.1637)
OKLCHoklch(47.37% 0.198 304.4)
XYZxyz(16.5830, 9.0603, 43.5143)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EB3 #6BB32E
analogous
#342EB3 #762EB3 #B32EAE
triadic
#762EB3 #B3762E #2EB376
tetradic
#762EB3 #B3342E #6BB32E #2EAEB3
square
#762EB3 #B3342E #6BB32E #2EAEB3
split-complementary
#762EB3 #AEB32E #2EB334
monochromatic
#361552 #562182 #762EB3 #954DD1 #B27EDE

Accessibility & contrast

On white

7.47
#762EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#762EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EB3
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EB3#FFFFFF#000000##FFFFFF
##762EB31.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762eb3;
/* rgb */ color: rgb(118, 46, 179);
/* oklch */ color: oklch(47.4% 0.198 304.4);
Tailwind
colors: {
  custom: {
    50: '#a36ecb',
    500: '#762eb3',
    950: '#000000',
  },
}
SCSS
$custom: #762eb3;
$custom-light: #a36ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#762eb3",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 272.481,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.19829,
    "h": 304.4
  },
  "luminance": 0.0906
}

Semantic roles & 50–950 ramp

primary
#762EB3
secondary
#9BC676
accent
#E2468D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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