#762DCA#762DCA

#762DCA is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.2% C 0.223 H 298.8°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#762DCA
RGBrgb(118, 45, 202)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.6%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.83, 60.68, -68.18)
CIE-LCHlch(37.83, 91.27, 311.67°)
OKLaboklab(49.17% 0.1072 -0.1951)
OKLCHoklch(49.17% 0.223 298.8)
XYZxyz(19.0675, 9.9923, 56.7898)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762DCA #81CA2D
analogous
#2D32CA #762DCA #C42DCA
triadic
#762DCA #CA762D #2DCA76
tetradic
#762DCA #CA2D32 #81CA2D #2DCAC4
square
#762DCA #CA2D32 #81CA2D #2DCAC4
split-complementary
#762DCA #CAC42D #32CA2D
monochromatic
#3C1766 #592298 #762DCA #965ADA #B68CE5

Accessibility & contrast

On white

7.00
#762DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#762DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #762DCA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762DCA#FFFFFF#000000##FFFFFF
##762DCA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #762dca;
/* rgb */ color: rgb(118, 45, 202);
/* oklch */ color: oklch(49.2% 0.223 298.8);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#762dca',
    950: '#000000',
  },
}
SCSS
$custom: #762dca;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#762dca",
  "rgb": {
    "r": 118,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 267.898,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49167,
    "c": 0.2226,
    "h": 298.8
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#762DCA
secondary
#ACCF83
accent
#E7419A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #762DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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