#762FA8#762FA8

#762FA8 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.186 H 307.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#762FA8
RGBrgb(118, 47, 168)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 66%)
CMYKcmyk(29.8%, 72%, 0%, 34.1%)
CIE-LABlab(35.42, 51.84, -52.03)
CIE-LCHlch(35.42, 73.44, 314.89°)
OKLaboklab(46.63% 0.113 -0.1476)
OKLCHoklch(46.63% 0.186 307.4)
XYZxyz(15.5541, 8.7119, 37.9004)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FA8 #61A82F
analogous
#3A2FA8 #762FA8 #A82F9D
triadic
#762FA8 #A8762F #2FA876
tetradic
#762FA8 #A83A2F #61A82F #2F9DA8
square
#762FA8 #A83A2F #61A82F #2F9DA8
split-complementary
#762FA8 #9DA82F #2FA83A
monochromatic
#331448 #542278 #762FA8 #9648CC #B178D9

Accessibility & contrast

On white

7.66
#762FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#762FA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FA8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FA8#FFFFFF#000000##FFFFFF
##762FA81.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0654A5
Tritanopia (blue-blind)
#6E4B68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762fa8;
/* rgb */ color: rgb(118, 47, 168);
/* oklch */ color: oklch(46.6% 0.186 307.4);
Tailwind
colors: {
  custom: {
    50: '#a26ec3',
    500: '#762fa8',
    950: '#000000',
  },
}
SCSS
$custom: #762fa8;
$custom-light: #a26ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#762fa8",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 275.207,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.18587,
    "h": 307.4
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#762FA8
secondary
#92C171
accent
#E04887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #762FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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