#762FB6#762FB6

#762FB6 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.200 H 303.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#762FB6
RGBrgb(118, 47, 182)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(35.2%, 74.2%, 0%, 28.6%)
CIE-LABlab(36.48, 55.10, -58.64)
CIE-LCHlch(36.48, 80.47, 313.21°)
OKLaboklab(47.72% 0.1104 -0.1671)
OKLCHoklch(47.72% 0.2 303.5)
XYZxyz(16.9293, 9.2620, 45.1428)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB6 #6FB62F
analogous
#332FB6 #762FB6 #B62FB2
triadic
#762FB6 #B6762F #2FB676
tetradic
#762FB6 #B6332F #6FB62F #2FB2B6
square
#762FB6 #B6332F #6FB62F #2FB2B6
split-complementary
#762FB6 #B2B62F #2FB633
monochromatic
#371655 #562285 #762FB6 #9450D2 #B281DE

Accessibility & contrast

On white

7.36
#762FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#762FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB6#FFFFFF#000000##FFFFFF
##762FB61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#695170
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762fb6;
/* rgb */ color: rgb(118, 47, 182);
/* oklch */ color: oklch(47.7% 0.200 303.5);
Tailwind
colors: {
  custom: {
    50: '#a36ecd',
    500: '#762fb6',
    950: '#000000',
  },
}
SCSS
$custom: #762fb6;
$custom-light: #a36ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb6",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 271.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47717,
    "c": 0.20025,
    "h": 303.5
  },
  "luminance": 0.09262
}

Semantic roles & 50–950 ramp

primary
#762FB6
secondary
#9EC779
accent
#E24690
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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