#762CCA#762CCA

#762CCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.224 H 298.9°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#762CCA
RGBrgb(118, 44, 202)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.6%, 78.2%, 0%, 20.8%)
CIE-LABlab(37.69, 61.07, -68.40)
CIE-LCHlch(37.69, 91.70, 311.76°)
OKLaboklab(49.07% 0.108 -0.1957)
OKLCHoklch(49.07% 0.224 298.9)
XYZxyz(19.0298, 9.9169, 56.7772)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CCA #80CA2C
analogous
#2C31CA #762CCA #C52CCA
triadic
#762CCA #CA762C #2CCA76
tetradic
#762CCA #CA2C31 #80CA2C #2CCAC5
square
#762CCA #CA2C31 #80CA2C #2CCAC5
split-complementary
#762CCA #CAC52C #31CA2C
monochromatic
#3B1665 #592198 #762CCA #9558DB #B58BE6

Accessibility & contrast

On white

7.04
#762CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#762CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CCA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CCA#FFFFFF#000000##FFFFFF
##762CCA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0057C7
Tritanopia (blue-blind)
#61577B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #762cca;
/* rgb */ color: rgb(118, 44, 202);
/* oklch */ color: oklch(49.1% 0.224 298.9);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#762cca',
    950: '#000000',
  },
}
SCSS
$custom: #762cca;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#762cca",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 268.101,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.22353,
    "h": 298.9
  },
  "luminance": 0.09917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #762CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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