#762BB9#762BB9

#762BB9 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.208 H 303.1°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#762BB9
RGBrgb(118, 43, 185)
HSLhsl(272, 62%, 45%)
HSVhsv(272, 77%, 73%)
CMYKcmyk(36.2%, 76.8%, 0%, 27.5%)
CIE-LABlab(36.14, 57.46, -60.97)
CIE-LCHlch(36.14, 83.78, 313.30°)
OKLaboklab(47.55% 0.1133 -0.1739)
OKLCHoklch(47.55% 0.208 303.1)
XYZxyz(17.0900, 9.0821, 46.7422)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BB9 #6EB92B
analogous
#2F2BB9 #762BB9 #B92BB5
triadic
#762BB9 #B9762B #2BB976
tetradic
#762BB9 #B92F2B #6EB92B #2BB5B9
square
#762BB9 #B92F2B #6EB92B #2BB5B9
split-complementary
#762BB9 #B5B92B #2BB92F
monochromatic
#371456 #561F87 #762BB9 #944CD5 #B27EE1

Accessibility & contrast

On white

7.46
#762BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#762BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BB9
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BB9#FFFFFF#000000##FFFFFF
##762BB91.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#685071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762bb9;
/* rgb */ color: rgb(118, 43, 185);
/* oklch */ color: oklch(47.6% 0.208 303.1);
Tailwind
colors: {
  custom: {
    50: '#a46dcf',
    500: '#762bb9',
    950: '#000000',
  },
}
SCSS
$custom: #762bb9;
$custom-light: #a46dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#762bb9",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 271.69,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47551,
    "c": 0.20754,
    "h": 303.1
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#762BB9
secondary
#9EC976
accent
#E5428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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