#762EBA#762EBA

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

Color values

HEX#762EBA
RGBrgb(118, 46, 186)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36.6%, 75.3%, 0%, 27.1%)
CIE-LABlab(36.65, 56.47, -60.73)
CIE-LCHlch(36.65, 82.93, 312.91°)
OKLaboklab(47.93% 0.1104 -0.1732)
OKLCHoklch(47.93% 0.205 302.5)
XYZxyz(17.3090, 9.3507, 47.3378)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EBA #72BA2E
analogous
#302EBA #762EBA #BA2EB8
triadic
#762EBA #BA762E #2EBA76
tetradic
#762EBA #BA302E #72BA2E #2EB8BA
square
#762EBA #BA302E #72BA2E #2EB8BA
split-complementary
#762EBA #B8BA2E #2EBA30
monochromatic
#381658 #572289 #762EBA #9451D4 #B382E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##762EBA#FFFFFF#000000##FFFFFF
##762EBA1.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)
#0055BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#685272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762eba;
/* rgb */ color: rgb(118, 46, 186);
/* oklch */ color: oklch(47.9% 0.205 302.5);
Tailwind
colors: {
  custom: {
    50: '#a46ed0',
    500: '#762eba',
    950: '#000000',
  },
}
SCSS
$custom: #762eba;
$custom-light: #a46ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#762eba",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 270.857,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.20542,
    "h": 302.5
  },
  "luminance": 0.09351
}

Semantic roles & 50–950 ramp

primary
#762EBA
secondary
#A1C97B
accent
#E34492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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