#762CB4#762CB4

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

Color values

HEX#762CB4
RGBrgb(118, 44, 180)
HSLhsl(273, 61%, 44%)
HSVhsv(273, 76%, 71%)
CMYKcmyk(34.4%, 75.6%, 0%, 29.4%)
CIE-LABlab(35.88, 55.89, -58.43)
CIE-LCHlch(35.88, 80.86, 313.73°)
OKLaboklab(47.25% 0.1136 -0.1664)
OKLCHoklch(47.25% 0.201 304.3)
XYZxyz(16.6082, 8.9483, 44.0234)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB4 #6AB42C
analogous
#322CB4 #762CB4 #B42CAE
triadic
#762CB4 #B4762C #2CB476
tetradic
#762CB4 #B4322C #6AB42C #2CAEB4
square
#762CB4 #B4322C #6AB42C #2CAEB4
split-complementary
#762CB4 #AEB42C #2CB432
monochromatic
#361452 #562083 #762CB4 #954AD3 #B27CDF

Accessibility & contrast

On white

7.53
#762CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#762CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB4
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB4#FFFFFF#000000##FFFFFF
##762CB41.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#6A4E6E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762cb4;
/* rgb */ color: rgb(118, 44, 180);
/* oklch */ color: oklch(47.2% 0.201 304.3);
Tailwind
colors: {
  custom: {
    50: '#a36dcb',
    500: '#762cb4',
    950: '#000000',
  },
}
SCSS
$custom: #762cb4;
$custom-light: #a36dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb4",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 272.647,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47246,
    "c": 0.20149,
    "h": 304.3
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#762CB4
secondary
#9AC775
accent
#E4448D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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