#762CB3#762CB3

#762CB3 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.200 H 304.6°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#762CB3
RGBrgb(118, 44, 179)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 75%, 70%)
CMYKcmyk(34.1%, 75.4%, 0%, 29.8%)
CIE-LABlab(35.81, 55.66, -57.97)
CIE-LCHlch(35.81, 80.36, 313.84°)
OKLaboklab(47.17% 0.1138 -0.1651)
OKLCHoklch(47.17% 0.2 304.6)
XYZxyz(16.5067, 8.9077, 43.4888)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB3 #69B32C
analogous
#322CB3 #762CB3 #B32CAC
triadic
#762CB3 #B3762C #2CB376
tetradic
#762CB3 #B3322C #69B32C #2CACB3
square
#762CB3 #B3322C #69B32C #2CACB3
split-complementary
#762CB3 #ACB32C #2CB332
monochromatic
#351451 #562082 #762CB3 #954AD2 #B17BDF

Accessibility & contrast

On white

7.55
#762CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#762CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB3
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB3#FFFFFF#000000##FFFFFF
##762CB31.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6A4E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762cb3;
/* rgb */ color: rgb(118, 44, 179);
/* oklch */ color: oklch(47.2% 0.200 304.6);
Tailwind
colors: {
  custom: {
    50: '#a36dcb',
    500: '#762cb3',
    950: '#000000',
  },
}
SCSS
$custom: #762cb3;
$custom-light: #a36dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb3",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 272.889,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.20049,
    "h": 304.6
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#762CB3
secondary
#99C774
accent
#E4448C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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