#762CA9#762CA9

#762CA9 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.190 H 307.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#762CA9
RGBrgb(118, 44, 169)
HSLhsl(276, 59%, 42%)
HSVhsv(276, 74%, 66%)
CMYKcmyk(30.2%, 74%, 0%, 33.7%)
CIE-LABlab(35.04, 53.36, -53.25)
CIE-LCHlch(35.04, 75.39, 315.06°)
OKLaboklab(46.38% 0.1158 -0.1512)
OKLCHoklch(46.38% 0.19 307.4)
XYZxyz(15.5318, 8.5177, 38.3543)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA9 #5FA92C
analogous
#382CA9 #762CA9 #A92C9E
triadic
#762CA9 #A9762C #2CA976
tetradic
#762CA9 #A9382C #5FA92C #2C9EA9
square
#762CA9 #A9382C #5FA92C #2C9EA9
split-complementary
#762CA9 #9EA92C #2CA938
monochromatic
#321348 #541F78 #762CA9 #9644CE #B174DB

Accessibility & contrast

On white

7.77
#762CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762CA9
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA9#FFFFFF#000000##FFFFFF
##762CA91.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#6E4A68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762ca9;
/* rgb */ color: rgb(118, 44, 169);
/* oklch */ color: oklch(46.4% 0.190 307.4);
Tailwind
colors: {
  custom: {
    50: '#a26cc3',
    500: '#762ca9',
    950: '#000000',
  },
}
SCSS
$custom: #762ca9;
$custom-light: #a26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca9",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 275.52,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.19044,
    "h": 307.4
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#762CA9
secondary
#91C36E
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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