#762FB8#762FB8

#762FB8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.202 H 302.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#762FB8
RGBrgb(118, 47, 184)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 74%, 72%)
CMYKcmyk(35.9%, 74.5%, 0%, 27.8%)
CIE-LABlab(36.64, 55.57, -59.57)
CIE-LCHlch(36.64, 81.47, 313.01°)
OKLaboklab(47.88% 0.11 -0.1698)
OKLCHoklch(47.88% 0.202 302.9)
XYZxyz(17.1374, 9.3453, 46.2391)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FB8 #71B82F
analogous
#322FB8 #762FB8 #B82FB5
triadic
#762FB8 #B8762F #2FB876
tetradic
#762FB8 #B8322F #71B82F #2FB5B8
square
#762FB8 #B8322F #71B82F #2FB5B8
split-complementary
#762FB8 #B5B82F #2FB832
monochromatic
#371657 #572387 #762FB8 #9452D3 #B282DF

Accessibility & contrast

On white

7.32
#762FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#762FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FB8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FB8#FFFFFF#000000##FFFFFF
##762FB81.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#685171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762fb8;
/* rgb */ color: rgb(118, 47, 184);
/* oklch */ color: oklch(47.9% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#a36fce',
    500: '#762fb8',
    950: '#000000',
  },
}
SCSS
$custom: #762fb8;
$custom-light: #a36fce;
$custom-dark: #000000;
JSON
{
  "hex": "#762fb8",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 271.095,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.20229,
    "h": 302.9
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#762FB8
secondary
#A0C87B
accent
#E24591
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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