#762CC7#762CC7

#762CC7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.221 H 299.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#762CC7
RGBrgb(118, 44, 199)
HSLhsl(269, 64%, 48%)
HSVhsv(269, 78%, 78%)
CMYKcmyk(40.7%, 77.9%, 0%, 22%)
CIE-LABlab(37.44, 60.36, -67.07)
CIE-LCHlch(37.44, 90.23, 311.98°)
OKLaboklab(48.82% 0.1088 -0.1918)
OKLCHoklch(48.82% 0.221 299.6)
XYZxyz(18.6781, 9.7762, 54.9247)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CC7 #7DC72C
analogous
#2C30C7 #762CC7 #C32CC7
triadic
#762CC7 #C7762C #2CC776
tetradic
#762CC7 #C72C30 #7DC72C #2CC7C3
square
#762CC7 #C72C30 #7DC72C #2CC7C3
split-complementary
#762CC7 #C7C32C #30C72C
monochromatic
#3B1663 #582195 #762CC7 #9556DA #B589E5

Accessibility & contrast

On white

7.11
#762CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#762CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CC7
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CC7#FFFFFF#000000##FFFFFF
##762CC71.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#625679
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #762cc7;
/* rgb */ color: rgb(118, 44, 199);
/* oklch */ color: oklch(48.8% 0.221 299.6);
Tailwind
colors: {
  custom: {
    50: '#a56ed9',
    500: '#762cc7',
    950: '#000000',
  },
}
SCSS
$custom: #762cc7;
$custom-light: #a56ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#762cc7",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 268.645,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48816,
    "c": 0.22054,
    "h": 299.6
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#762CC7
secondary
#A9CF80
accent
#E74198
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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