#762AC9#762AC9

#762AC9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.224 H 299.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#762AC9
RGBrgb(118, 42, 201)
HSLhsl(269, 65%, 48%)
HSVhsv(269, 79%, 79%)
CMYKcmyk(41.3%, 79.1%, 0%, 21.2%)
CIE-LABlab(37.34, 61.60, -68.40)
CIE-LCHlch(37.34, 92.05, 312.01°)
OKLaboklab(48.8% 0.1098 -0.1957)
OKLCHoklch(48.8% 0.224 299.3)
XYZxyz(18.8391, 9.7243, 56.1314)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AC9 #7DC92A
analogous
#2A2EC9 #762AC9 #C52AC9
triadic
#762AC9 #C9762A #2AC976
tetradic
#762AC9 #C92A2E #7DC92A #2AC9C5
square
#762AC9 #C92A2E #7DC92A #2AC9C5
split-complementary
#762AC9 #C9C52A #2EC92A
monochromatic
#3B1564 #581F96 #762AC9 #9555DB #B587E6

Accessibility & contrast

On white

7.13
#762AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#762AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AC9
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AC9#FFFFFF#000000##FFFFFF
##762AC91.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#62567A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #762ac9;
/* rgb */ color: rgb(118, 42, 201);
/* oklch */ color: oklch(48.8% 0.224 299.3);
Tailwind
colors: {
  custom: {
    50: '#a56ddb',
    500: '#762ac9',
    950: '#000000',
  },
}
SCSS
$custom: #762ac9;
$custom-light: #a56ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#762ac9",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 268.679,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48802,
    "c": 0.22437,
    "h": 299.3
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#762AC9
secondary
#A9D07F
accent
#E83F98
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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