#762CA8#762CA8

#762CA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.189 H 307.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#762CA8
RGBrgb(118, 44, 168)
HSLhsl(276, 58%, 42%)
HSVhsv(276, 74%, 66%)
CMYKcmyk(29.8%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.96, 53.14, -52.77)
CIE-LCHlch(34.96, 74.89, 315.20°)
OKLaboklab(46.31% 0.116 -0.1498)
OKLCHoklch(46.31% 0.189 307.7)
XYZxyz(15.4383, 8.4803, 37.8618)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA8 #5EA82C
analogous
#382CA8 #762CA8 #A82C9C
triadic
#762CA8 #A8762C #2CA876
tetradic
#762CA8 #A8382C #5EA82C #2C9CA8
square
#762CA8 #A8382C #5EA82C #2C9CA8
split-complementary
#762CA8 #9CA82C #2CA838
monochromatic
#321347 #541F78 #762CA8 #9643CE #B174DB

Accessibility & contrast

On white

7.79
#762CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#762CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA8#FFFFFF#000000##FFFFFF
##762CA81.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#6E4968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ca8;
/* rgb */ color: rgb(118, 44, 168);
/* oklch */ color: oklch(46.3% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#a26cc3',
    500: '#762ca8',
    950: '#000000',
  },
}
SCSS
$custom: #762ca8;
$custom-light: #a26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca8",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 275.806,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.18944,
    "h": 307.7
  },
  "luminance": 0.0848
}

Semantic roles & 50–950 ramp

primary
#762CA8
secondary
#90C26E
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #762CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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