#762DB5#762DB5

#762DB5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.201 H 303.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#762DB5
RGBrgb(118, 45, 181)
HSLhsl(272, 60%, 44%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(34.8%, 75.1%, 0%, 29%)
CIE-LABlab(36.11, 55.71, -58.66)
CIE-LCHlch(36.11, 80.90, 313.52°)
OKLaboklab(47.43% 0.1125 -0.1671)
OKLCHoklch(47.43% 0.201 303.9)
XYZxyz(16.7482, 9.0646, 44.5744)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB5 #6CB52D
analogous
#322DB5 #762DB5 #B52DB0
triadic
#762DB5 #B5762D #2DB576
tetradic
#762DB5 #B5322D #6CB52D #2DB0B5
square
#762DB5 #B5322D #6CB52D #2DB0B5
split-complementary
#762DB5 #B0B52D #2DB532
monochromatic
#361553 #562184 #762DB5 #954DD3 #B27EDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762DB5#FFFFFF#000000##FFFFFF
##762DB51.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)
#0053B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#6A4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762db5;
/* rgb */ color: rgb(118, 45, 181);
/* oklch */ color: oklch(47.4% 0.201 303.9);
Tailwind
colors: {
  custom: {
    50: '#a36dcc',
    500: '#762db5',
    950: '#000000',
  },
}
SCSS
$custom: #762db5;
$custom-light: #a36dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#762db5",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 272.206,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47428,
    "c": 0.20142,
    "h": 303.9
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#762DB5
secondary
#9CC776
accent
#E3448E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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