#762CB8#762CB8

#762CB8 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.205 H 303.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#762CB8
RGBrgb(118, 44, 184)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 72%)
CMYKcmyk(35.9%, 76.1%, 0%, 27.8%)
CIE-LABlab(36.20, 56.82, -60.28)
CIE-LCHlch(36.20, 82.84, 313.31°)
OKLaboklab(47.57% 0.1127 -0.1719)
OKLCHoklch(47.57% 0.206 303.2)
XYZxyz(17.0216, 9.1136, 46.2005)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB8 #6EB82C
analogous
#302CB8 #762CB8 #B82CB4
triadic
#762CB8 #B8762C #2CB876
tetradic
#762CB8 #B8302C #6EB82C #2CB4B8
square
#762CB8 #B8302C #6EB82C #2CB4B8
split-complementary
#762CB8 #B4B82C #2CB830
monochromatic
#371455 #562087 #762CB8 #944DD4 #B27EE0

Accessibility & contrast

On white

7.44
#762CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#762CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB8#FFFFFF#000000##FFFFFF
##762CB81.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#685071
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762cb8;
/* rgb */ color: rgb(118, 44, 184);
/* oklch */ color: oklch(47.6% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#a36dce',
    500: '#762cb8',
    950: '#000000',
  },
}
SCSS
$custom: #762cb8;
$custom-light: #a36dce;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb8",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 271.714,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.2055,
    "h": 303.2
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#762CB8
secondary
#9EC977
accent
#E5438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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