#762DC9#762DC9

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

Color values

HEX#762DC9
RGBrgb(118, 45, 201)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.3%, 77.6%, 0%, 21.2%)
CIE-LABlab(37.74, 60.44, -67.74)
CIE-LCHlch(37.74, 90.78, 311.74°)
OKLaboklab(49.08% 0.1075 -0.1938)
OKLCHoklch(49.08% 0.222 299)
XYZxyz(18.9495, 9.9451, 56.1682)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DC9 #80C92D
analogous
#2D32C9 #762DC9 #C42DC9
triadic
#762DC9 #C9762D #2DC976
tetradic
#762DC9 #C92D32 #80C92D #2DC9C4
square
#762DC9 #C92D32 #80C92D #2DC9C4
split-complementary
#762DC9 #C9C42D #32C92D
monochromatic
#3B1765 #592297 #762DC9 #9559DA #B58BE5

Accessibility & contrast

On white

7.03
#762DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#762DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762DC9
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DC9#FFFFFF#000000##FFFFFF
##762DC91.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#62577B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #762dc9;
/* rgb */ color: rgb(118, 45, 201);
/* oklch */ color: oklch(49.1% 0.222 299.0);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#762dc9',
    950: '#000000',
  },
}
SCSS
$custom: #762dc9;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#762dc9",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 268.077,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49081,
    "c": 0.22159,
    "h": 299
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#762DC9
secondary
#ABCF83
accent
#E64199
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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