#762DB9#762DB9

#762DB9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.205 H 302.9°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#762DB9
RGBrgb(118, 45, 185)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 76%, 73%)
CMYKcmyk(36.2%, 75.7%, 0%, 27.5%)
CIE-LABlab(36.43, 56.65, -60.51)
CIE-LCHlch(36.43, 82.89, 313.11°)
OKLaboklab(47.75% 0.1116 -0.1725)
OKLCHoklch(47.75% 0.205 302.9)
XYZxyz(17.1645, 9.2311, 46.7670)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB9 #70B92D
analogous
#302DB9 #762DB9 #B92DB6
triadic
#762DB9 #B9762D #2DB976
tetradic
#762DB9 #B9302D #70B92D #2DB6B9
square
#762DB9 #B9302D #70B92D #2DB6B9
split-complementary
#762DB9 #B6B92D #2DB930
monochromatic
#371557 #572188 #762DB9 #944FD4 #B280E0

Accessibility & contrast

On white

7.38
#762DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762DB9
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DB9#FFFFFF#000000##FFFFFF
##762DB91.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762db9;
/* rgb */ color: rgb(118, 45, 185);
/* oklch */ color: oklch(47.8% 0.205 302.9);
Tailwind
colors: {
  custom: {
    50: '#a36ecf',
    500: '#762db9',
    950: '#000000',
  },
}
SCSS
$custom: #762db9;
$custom-light: #a36ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#762db9",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 271.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.20547,
    "h": 302.9
  },
  "luminance": 0.09231
}

Semantic roles & 50–950 ramp

primary
#762DB9
secondary
#9FC979
accent
#E44490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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