#762CC9#762CC9

#762CC9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.223 H 299.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#762CC9
RGBrgb(118, 44, 201)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.3%, 78.1%, 0%, 21.2%)
CIE-LABlab(37.61, 60.83, -67.96)
CIE-LCHlch(37.61, 91.21, 311.83°)
OKLaboklab(48.99% 0.1083 -0.1944)
OKLCHoklch(48.99% 0.223 299.1)
XYZxyz(18.9118, 9.8697, 56.1557)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CC9 #7FC92C
analogous
#2C31C9 #762CC9 #C42CC9
triadic
#762CC9 #C9762C #2CC976
tetradic
#762CC9 #C92C31 #7FC92C #2CC9C4
square
#762CC9 #C92C31 #7FC92C #2CC9C4
split-complementary
#762CC9 #C9C42C #31C92C
monochromatic
#3B1665 #592197 #762CC9 #9558DA #B58AE5

Accessibility & contrast

On white

7.06
#762CC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#762CC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CC9
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CC9#FFFFFF#000000##FFFFFF
##762CC91.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762cc9;
/* rgb */ color: rgb(118, 44, 201);
/* oklch */ color: oklch(49.0% 0.223 299.1);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#762cc9',
    950: '#000000',
  },
}
SCSS
$custom: #762cc9;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#762cc9",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 268.28,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48986,
    "c": 0.22253,
    "h": 299.1
  },
  "luminance": 0.0987
}

Semantic roles & 50–950 ramp

primary
#762CC9
secondary
#ABCF82
accent
#E74199
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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