#762CB5#762CB5

#762CB5 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.203 H 304.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#762CB5
RGBrgb(118, 44, 181)
HSLhsl(272, 61%, 44%)
HSVhsv(272, 76%, 71%)
CMYKcmyk(34.8%, 75.7%, 0%, 29%)
CIE-LABlab(35.96, 56.12, -58.90)
CIE-LCHlch(35.96, 81.36, 313.62°)
OKLaboklab(47.33% 0.1134 -0.1678)
OKLCHoklch(47.33% 0.203 304)
XYZxyz(16.7105, 8.9892, 44.5618)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB5 #6BB52C
analogous
#322CB5 #762CB5 #B52CB0
triadic
#762CB5 #B5762C #2CB576
tetradic
#762CB5 #B5322C #6BB52C #2CB0B5
square
#762CB5 #B5322C #6BB52C #2CB0B5
split-complementary
#762CB5 #B0B52C #2CB532
monochromatic
#361453 #562084 #762CB5 #954BD3 #B27CDF

Accessibility & contrast

On white

7.51
#762CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#762CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB5#FFFFFF#000000##FFFFFF
##762CB51.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0054B2
Tritanopia (blue-blind)
#6A4F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762cb5;
/* rgb */ color: rgb(118, 44, 181);
/* oklch */ color: oklch(47.3% 0.203 304.0);
Tailwind
colors: {
  custom: {
    50: '#a36dcc',
    500: '#762cb5',
    950: '#000000',
  },
}
SCSS
$custom: #762cb5;
$custom-light: #a36dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb5",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 272.409,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47326,
    "c": 0.2025,
    "h": 304
  },
  "luminance": 0.08989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #762CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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