#762CC0#762CC0

#762CC0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.214 H 301.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#762CC0
RGBrgb(118, 44, 192)
HSLhsl(270, 63%, 46%)
HSVhsv(270, 77%, 75%)
CMYKcmyk(38.5%, 77.1%, 0%, 24.7%)
CIE-LABlab(36.85, 58.70, -63.93)
CIE-LCHlch(36.85, 86.80, 312.56°)
OKLaboklab(48.23% 0.1107 -0.1826)
OKLCHoklch(48.23% 0.214 301.2)
XYZxyz(17.8840, 9.4586, 50.7424)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CC0 #76C02C
analogous
#2C2CC0 #762CC0 #C02CC0
triadic
#762CC0 #C0762C #2CC076
tetradic
#762CC0 #C02C2C #76C02C #2CC0C0
square
#762CC0 #C02C2C #76C02C #2CC0C0
split-complementary
#762CC0 #C0C02C #2CC02C
monochromatic
#39155C #57218E #762CC0 #9552D7 #B384E3

Accessibility & contrast

On white

7.26
#762CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#762CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CC0
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CC0#FFFFFF#000000##FFFFFF
##762CC01.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#655375
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762cc0;
/* rgb */ color: rgb(118, 44, 192);
/* oklch */ color: oklch(48.2% 0.214 301.2);
Tailwind
colors: {
  custom: {
    50: '#a46dd4',
    500: '#762cc0',
    950: '#000000',
  },
}
SCSS
$custom: #762cc0;
$custom-light: #a46dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#762cc0",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 270,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.21353,
    "h": 301.2
  },
  "luminance": 0.09459
}

Semantic roles & 50–950 ramp

primary
#762CC0
secondary
#A4CC7C
accent
#E64294
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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