#762CA0#762CA0

#762CA0 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.181 H 310.3°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#762CA0
RGBrgb(118, 44, 160)
HSLhsl(278, 57%, 40%)
HSVhsv(278, 73%, 63%)
CMYKcmyk(26.2%, 72.5%, 0%, 37.3%)
CIE-LABlab(34.38, 51.34, -48.90)
CIE-LCHlch(34.38, 70.90, 316.39°)
OKLaboklab(45.71% 0.1173 -0.1384)
OKLCHoklch(45.71% 0.181 310.3)
XYZxyz(14.7158, 8.1913, 34.0568)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA0 #56A02C
analogous
#3C2CA0 #762CA0 #A02C90
triadic
#762CA0 #A0762C #2CA076
tetradic
#762CA0 #A03C2C #56A02C #2C90A0
square
#762CA0 #A03C2C #56A02C #2C90A0
split-complementary
#762CA0 #90A02C #2CA03C
monochromatic
#2F1240 #531F70 #762CA0 #983FCA #B26FD7

Accessibility & contrast

On white

7.96
#762CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#762CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA0
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA0#FFFFFF#000000##FFFFFF
##762CA01.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#16529D
Tritanopia (blue-blind)
#704663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762ca0;
/* rgb */ color: rgb(118, 44, 160);
/* oklch */ color: oklch(45.7% 0.181 310.3);
Tailwind
colors: {
  custom: {
    50: '#a26cbd',
    500: '#762ca0',
    950: '#000000',
  },
}
SCSS
$custom: #762ca0;
$custom-light: #a26cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca0",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 278.276,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.1814,
    "h": 310.3
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#762CA0
secondary
#88BF69
accent
#E0487F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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