#762DB8#762DB8

#762DB8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.204 H 303.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#762DB8
RGBrgb(118, 45, 184)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 72%)
CMYKcmyk(35.9%, 75.5%, 0%, 27.8%)
CIE-LABlab(36.35, 56.41, -60.05)
CIE-LCHlch(36.35, 82.39, 313.21°)
OKLaboklab(47.67% 0.1118 -0.1712)
OKLCHoklch(47.67% 0.204 303.1)
XYZxyz(17.0593, 9.1890, 46.2130)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DB8 #6FB82D
analogous
#312DB8 #762DB8 #B82DB5
triadic
#762DB8 #B8762D #2DB876
tetradic
#762DB8 #B8312D #6FB82D #2DB5B8
square
#762DB8 #B8312D #6FB82D #2DB5B8
split-complementary
#762DB8 #B5B82D #2DB831
monochromatic
#371556 #562187 #762DB8 #944ED4 #B280E0

Accessibility & contrast

On white

7.40
#762DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#762DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DB8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DB8#FFFFFF#000000##FFFFFF
##762DB81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762db8;
/* rgb */ color: rgb(118, 45, 184);
/* oklch */ color: oklch(47.7% 0.204 303.1);
Tailwind
colors: {
  custom: {
    50: '#a36ece',
    500: '#762db8',
    950: '#000000',
  },
}
SCSS
$custom: #762db8;
$custom-light: #a36ece;
$custom-dark: #000000;
JSON
{
  "hex": "#762db8",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 271.511,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.20445,
    "h": 303.1
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #762DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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