#762DA0#762DA0

#762DA0 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.180 H 310.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#762DA0
RGBrgb(118, 45, 160)
HSLhsl(278, 56%, 40%)
HSVhsv(278, 72%, 63%)
CMYKcmyk(26.2%, 71.9%, 0%, 37.3%)
CIE-LABlab(34.53, 50.90, -48.65)
CIE-LCHlch(34.53, 70.41, 316.29°)
OKLaboklab(45.82% 0.1162 -0.1377)
OKLCHoklch(45.82% 0.18 310.2)
XYZxyz(14.7535, 8.2667, 34.0693)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DA0 #57A02D
analogous
#3C2DA0 #762DA0 #A02D90
triadic
#762DA0 #A0762D #2DA076
tetradic
#762DA0 #A03C2D #57A02D #2D90A0
square
#762DA0 #A03C2D #57A02D #2D90A0
split-complementary
#762DA0 #90A02D #2DA03C
monochromatic
#301240 #532070 #762DA0 #9841C9 #B270D7

Accessibility & contrast

On white

7.91
#762DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#762DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DA0
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DA0#FFFFFF#000000##FFFFFF
##762DA01.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762da0;
/* rgb */ color: rgb(118, 45, 160);
/* oklch */ color: oklch(45.8% 0.180 310.2);
Tailwind
colors: {
  custom: {
    50: '#a26dbd',
    500: '#762da0',
    950: '#000000',
  },
}
SCSS
$custom: #762da0;
$custom-light: #a26dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#762da0",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 278.087,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.18018,
    "h": 310.2
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#762DA0
secondary
#89BE6B
accent
#DF4880
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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