#762CA3#762CA3

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

Color values

HEX#762CA3
RGBrgb(118, 44, 163)
HSLhsl(277, 57%, 41%)
HSVhsv(277, 73%, 64%)
CMYKcmyk(27.6%, 73%, 0%, 36.1%)
CIE-LABlab(34.59, 52.01, -50.36)
CIE-LCHlch(34.59, 72.40, 315.92°)
OKLaboklab(45.93% 0.1168 -0.1427)
OKLCHoklch(45.93% 0.184 309.3)
XYZxyz(14.9814, 8.2975, 35.4556)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CA3 #59A32C
analogous
#3A2CA3 #762CA3 #A32C94
triadic
#762CA3 #A3762C #2CA376
tetradic
#762CA3 #A33A2C #59A32C #2C94A3
square
#762CA3 #A33A2C #59A32C #2C94A3
split-complementary
#762CA3 #94A32C #2CA33A
monochromatic
#301243 #531F73 #762CA3 #9741CC #B171D9

Accessibility & contrast

On white

7.90
#762CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#762CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CA3
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CA3#FFFFFF#000000##FFFFFF
##762CA31.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0F52A0
Tritanopia (blue-blind)
#6F4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #762ca3;
/* rgb */ color: rgb(118, 44, 163);
/* oklch */ color: oklch(45.9% 0.184 309.3);
Tailwind
colors: {
  custom: {
    50: '#a26cbf',
    500: '#762ca3',
    950: '#000000',
  },
}
SCSS
$custom: #762ca3;
$custom-light: #a26cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#762ca3",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 277.311,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4593,
    "c": 0.18441,
    "h": 309.3
  },
  "luminance": 0.08297
}

Semantic roles & 50–950 ramp

primary
#762CA3
secondary
#8BC06B
accent
#E14781
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #762CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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