#762B9F#762B9F

#762B9F is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.182 H 310.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#762B9F
RGBrgb(118, 43, 159)
HSLhsl(279, 57%, 40%)
HSVhsv(279, 73%, 62%)
CMYKcmyk(25.8%, 73%, 0%, 37.6%)
CIE-LABlab(34.15, 51.54, -48.66)
CIE-LCHlch(34.15, 70.88, 316.65°)
OKLaboklab(45.53% 0.1184 -0.1377)
OKLCHoklch(45.53% 0.182 310.7)
XYZxyz(14.5919, 8.0828, 33.5856)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762B9F #549F2B
analogous
#3C2B9F #762B9F #9F2B8E
triadic
#762B9F #9F762B #2B9F76
tetradic
#762B9F #9F3C2B #549F2B #2B8E9F
square
#762B9F #9F3C2B #549F2B #2B8E9F
split-complementary
#762B9F #8E9F2B #2B9F3C
monochromatic
#2E113F #521E6F #762B9F #983DCA #B26DD7

Accessibility & contrast

On white

8.03
#762B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#762B9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762B9F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762B9F#FFFFFF#000000##FFFFFF
##762B9F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#17529D
Tritanopia (blue-blind)
#714562
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #762b9f;
/* rgb */ color: rgb(118, 43, 159);
/* oklch */ color: oklch(45.5% 0.182 310.7);
Tailwind
colors: {
  custom: {
    50: '#a26bbc',
    500: '#762b9f',
    950: '#000000',
  },
}
SCSS
$custom: #762b9f;
$custom-light: #a26bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#762b9f",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 159
  },
  "hsl": {
    "h": 278.793,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45526,
    "c": 0.18162,
    "h": 310.7
  },
  "luminance": 0.08083
}

Semantic roles & 50–950 ramp

primary
#762B9F
secondary
#86BE67
accent
#E1477D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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