#762AAF#762AAF

#762AAF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.199 H 305.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#762AAF
RGBrgb(118, 42, 175)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(32.6%, 76%, 0%, 31.4%)
CIE-LABlab(35.21, 55.56, -56.56)
CIE-LCHlch(35.21, 79.28, 314.49°)
OKLaboklab(46.65% 0.1165 -0.1609)
OKLCHoklch(46.65% 0.199 305.9)
XYZxyz(16.0353, 8.6028, 41.3649)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AAF #63AF2A
analogous
#342AAF #762AAF #AF2AA5
triadic
#762AAF #AF762A #2AAF76
tetradic
#762AAF #AF342A #63AF2A #2AA5AF
square
#762AAF #AF342A #63AF2A #2AA5AF
split-complementary
#762AAF #A5AF2A #2AAF34
monochromatic
#33124C #551E7E #762AAF #9544D2 #B175DE

Accessibility & contrast

On white

7.72
#762AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#762AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AAF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AAF#FFFFFF#000000##FFFFFF
##762AAF1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6C4B6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762aaf;
/* rgb */ color: rgb(118, 42, 175);
/* oklch */ color: oklch(46.6% 0.199 305.9);
Tailwind
colors: {
  custom: {
    50: '#a36cc8',
    500: '#762aaf',
    950: '#000000',
  },
}
SCSS
$custom: #762aaf;
$custom-light: #a36cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#762aaf",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 274.286,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46647,
    "c": 0.19865,
    "h": 305.9
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#762AAF
secondary
#94C66F
accent
#E44388
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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