#762DC7#762DC7

#762DC7 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.9% C 0.220 H 299.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#762DC7
RGBrgb(118, 45, 199)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 77%, 78%)
CMYKcmyk(40.7%, 77.4%, 0%, 22%)
CIE-LABlab(37.57, 59.96, -66.85)
CIE-LCHlch(37.57, 89.80, 311.89°)
OKLaboklab(48.91% 0.108 -0.1912)
OKLCHoklch(48.91% 0.22 299.5)
XYZxyz(18.7158, 9.8516, 54.9373)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DC7 #7EC72D
analogous
#2D31C7 #762DC7 #C32DC7
triadic
#762DC7 #C7762D #2DC776
tetradic
#762DC7 #C72D31 #7EC72D #2DC7C3
square
#762DC7 #C72D31 #7EC72D #2DC7C3
split-complementary
#762DC7 #C7C32D #31C72D
monochromatic
#3B1663 #582295 #762DC7 #9558D9 #B58AE5

Accessibility & contrast

On white

7.07
#762DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #762DC7
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DC7#FFFFFF#000000##FFFFFF
##762DC71.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762dc7;
/* rgb */ color: rgb(118, 45, 199);
/* oklch */ color: oklch(48.9% 0.220 299.5);
Tailwind
colors: {
  custom: {
    50: '#a56ed9',
    500: '#762dc7',
    950: '#000000',
  },
}
SCSS
$custom: #762dc7;
$custom-light: #a56ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#762dc7",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 268.442,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.21958,
    "h": 299.5
  },
  "luminance": 0.09852
}

Semantic roles & 50–950 ramp

primary
#762DC7
secondary
#AACE81
accent
#E64298
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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