#762ED7#762ED7

#762ED7 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.235 H 295.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#762ED7
RGBrgb(118, 46, 215)
HSLhsl(266, 68%, 51%)
HSVhsv(266, 79%, 84%)
CMYKcmyk(45.1%, 78.6%, 0%, 15.7%)
CIE-LABlab(39.09, 63.42, -73.64)
CIE-LCHlch(39.09, 97.18, 310.74°)
OKLaboklab(50.39% 0.1027 -0.2111)
OKLCHoklch(50.39% 0.235 295.9)
XYZxyz(20.7107, 10.7113, 65.2531)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762ED7 #8FD72E
analogous
#2E3AD7 #762ED7 #CA2ED7
triadic
#762ED7 #D7762E #2ED776
tetradic
#762ED7 #D72E3A #8FD72E #2ED7CA
square
#762ED7 #D72E3A #8FD72E #2ED7CA
split-complementary
#762ED7 #D7CA2E #3AD72E
monochromatic
#3E1674 #5A20A8 #762ED7 #9861E1 #B995EB

Accessibility & contrast

On white

6.68
#762ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#762ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #762ED7
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762ED7#FFFFFF#000000##FFFFFF
##762ED71.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#005AD4
Tritanopia (blue-blind)
#5B5E83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #762ed7;
/* rgb */ color: rgb(118, 46, 215);
/* oklch */ color: oklch(50.4% 0.235 295.9);
Tailwind
colors: {
  custom: {
    50: '#a670e5',
    500: '#762ed7',
    950: '#000000',
  },
}
SCSS
$custom: #762ed7;
$custom-light: #a670e5;
$custom-dark: #000000;
JSON
{
  "hex": "#762ed7",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 265.562,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.23475,
    "h": 295.9
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#762ED7
secondary
#B6D68B
accent
#EB3DA1
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #762ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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