#762CB7#762CB7

#762CB7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.204 H 303.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#762CB7
RGBrgb(118, 44, 183)
HSLhsl(272, 61%, 45%)
HSVhsv(272, 76%, 72%)
CMYKcmyk(35.5%, 76%, 0%, 28.2%)
CIE-LABlab(36.12, 56.59, -59.82)
CIE-LCHlch(36.12, 82.35, 313.41°)
OKLaboklab(47.49% 0.1129 -0.1705)
OKLCHoklch(47.49% 0.205 303.5)
XYZxyz(16.9171, 9.0718, 45.6504)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CB7 #6DB72C
analogous
#302CB7 #762CB7 #B72CB3
triadic
#762CB7 #B7762C #2CB776
tetradic
#762CB7 #B7302C #6DB72C #2CB3B7
square
#762CB7 #B7302C #6DB72C #2CB3B7
split-complementary
#762CB7 #B3B72C #2CB730
monochromatic
#361454 #562086 #762CB7 #944CD4 #B27EE0

Accessibility & contrast

On white

7.46
#762CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#762CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CB7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CB7#FFFFFF#000000##FFFFFF
##762CB71.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#694F70
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762cb7;
/* rgb */ color: rgb(118, 44, 183);
/* oklch */ color: oklch(47.5% 0.204 303.5);
Tailwind
colors: {
  custom: {
    50: '#a36dce',
    500: '#762cb7',
    950: '#000000',
  },
}
SCSS
$custom: #762cb7;
$custom-light: #a36dce;
$custom-dark: #000000;
JSON
{
  "hex": "#762cb7",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 271.942,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47487,
    "c": 0.2045,
    "h": 303.5
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#762CB7
secondary
#9DC876
accent
#E4438F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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