#762CA2#762CA2

#762CA2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.183 H 309.6°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#762CA2
RGBrgb(118, 44, 162)
HSLhsl(278, 57%, 40%)
HSVhsv(278, 73%, 64%)
CMYKcmyk(27.2%, 72.8%, 0%, 36.5%)
CIE-LABlab(34.52, 51.78, -49.88)
CIE-LCHlch(34.52, 71.90, 316.07°)
OKLaboklab(45.86% 0.117 -0.1413)
OKLCHoklch(45.86% 0.183 309.6)
XYZxyz(14.8922, 8.2618, 34.9856)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA2 #58A22C
analogous
#3B2CA2 #762CA2 #A22C93
triadic
#762CA2 #A2762C #2CA276
tetradic
#762CA2 #A23B2C #58A22C #2C93A2
square
#762CA2 #A23B2C #58A22C #2C93A2
split-complementary
#762CA2 #93A22C #2CA23B
monochromatic
#301242 #531F72 #762CA2 #9740CB #B170D8

Accessibility & contrast

On white

7.92
#762CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#762CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA2#FFFFFF#000000##FFFFFF
##762CA21.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#12529F
Tritanopia (blue-blind)
#704764
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762ca2;
/* rgb */ color: rgb(118, 44, 162);
/* oklch */ color: oklch(45.9% 0.183 309.6);
Tailwind
colors: {
  custom: {
    50: '#a26cbe',
    500: '#762ca2',
    950: '#000000',
  },
}
SCSS
$custom: #762ca2;
$custom-light: #a26cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca2",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 277.627,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45855,
    "c": 0.18342,
    "h": 309.6
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#762CA2
secondary
#8ABF6A
accent
#E14780
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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