#762EBB#762EBB

#762EBB is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.206 H 302.3°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#762EBB
RGBrgb(118, 46, 187)
HSLhsl(271, 61%, 46%)
HSVhsv(271, 75%, 73%)
CMYKcmyk(36.9%, 75.4%, 0%, 26.7%)
CIE-LABlab(36.73, 56.70, -61.19)
CIE-LCHlch(36.73, 83.43, 312.82°)
OKLaboklab(48.01% 0.1102 -0.1746)
OKLCHoklch(48.01% 0.206 302.3)
XYZxyz(17.4157, 9.3933, 47.8997)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EBB #73BB2E
analogous
#2F2EBB #762EBB #BB2EB9
triadic
#762EBB #BB762E #2EBB76
tetradic
#762EBB #BB2F2E #73BB2E #2EB9BB
square
#762EBB #BB2F2E #73BB2E #2EB9BB
split-complementary
#762EBB #B9BB2E #2EBB2F
monochromatic
#381659 #57228A #762EBB #9452D4 #B383E0

Accessibility & contrast

On white

7.30
#762EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#762EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EBB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EBB#FFFFFF#000000##FFFFFF
##762EBB1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#675273
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #762ebb;
/* rgb */ color: rgb(118, 46, 187);
/* oklch */ color: oklch(48.0% 0.206 302.3);
Tailwind
colors: {
  custom: {
    50: '#a46ed0',
    500: '#762ebb',
    950: '#000000',
  },
}
SCSS
$custom: #762ebb;
$custom-light: #a46ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#762ebb",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 270.638,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.20643,
    "h": 302.3
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#762EBB
secondary
#A2CA7B
accent
#E44492
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #762EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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