#762CB1#762CB1

#762CB1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.198 H 305.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#762CB1
RGBrgb(118, 44, 177)
HSLhsl(273, 60%, 43%)
HSVhsv(273, 75%, 69%)
CMYKcmyk(33.3%, 75.1%, 0%, 30.6%)
CIE-LABlab(35.65, 55.20, -57.03)
CIE-LCHlch(35.65, 79.37, 314.06°)
OKLaboklab(47.01% 0.1142 -0.1623)
OKLCHoklch(47.01% 0.198 305.1)
XYZxyz(16.3059, 8.8273, 42.4313)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB1 #67B12C
analogous
#332CB1 #762CB1 #B12CA9
triadic
#762CB1 #B1762C #2CB176
tetradic
#762CB1 #B1332C #67B12C #2CA9B1
square
#762CB1 #B1332C #67B12C #2CA9B1
split-complementary
#762CB1 #A9B12C #2CB133
monochromatic
#35144F #552080 #762CB1 #9549D2 #B17ADE

Accessibility & contrast

On white

7.59
#762CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#762CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB1
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB1#FFFFFF#000000##FFFFFF
##762CB11.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6B4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762cb1;
/* rgb */ color: rgb(118, 44, 177);
/* oklch */ color: oklch(47.0% 0.198 305.1);
Tailwind
colors: {
  custom: {
    50: '#a36dc9',
    500: '#762cb1',
    950: '#000000',
  },
}
SCSS
$custom: #762cb1;
$custom-light: #a36dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb1",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 273.383,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47007,
    "c": 0.19848,
    "h": 305.1
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#762CB1
secondary
#98C673
accent
#E3448B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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