#762EBE#762EBE

#762EBE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.209 H 301.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#762EBE
RGBrgb(118, 46, 190)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 75%)
CMYKcmyk(37.9%, 75.8%, 0%, 25.5%)
CIE-LABlab(36.97, 57.41, -62.56)
CIE-LCHlch(36.97, 84.92, 312.54°)
OKLaboklab(48.26% 0.1095 -0.1786)
OKLCHoklch(48.26% 0.209 301.5)
XYZxyz(17.7402, 9.5232, 49.6087)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EBE #76BE2E
analogous
#2E2EBE #762EBE #BE2EBE
triadic
#762EBE #BE762E #2EBE76
tetradic
#762EBE #BE2E2E #76BE2E #2EBEBE
square
#762EBE #BE2E2E #76BE2E #2EBEBE
split-complementary
#762EBE #BEBE2E #2EBE2E
monochromatic
#39165B #57228D #762EBE #9554D6 #B385E1

Accessibility & contrast

On white

7.23
#762EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#762EBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EBE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EBE#FFFFFF#000000##FFFFFF
##762EBE1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#665374
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762ebe;
/* rgb */ color: rgb(118, 46, 190);
/* oklch */ color: oklch(48.3% 0.209 301.5);
Tailwind
colors: {
  custom: {
    50: '#a46ed3',
    500: '#762ebe',
    950: '#000000',
  },
}
SCSS
$custom: #762ebe;
$custom-light: #a46ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#762ebe",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4826,
    "c": 0.20948,
    "h": 301.5
  },
  "luminance": 0.09523
}

Semantic roles & 50–950 ramp

primary
#762EBE
secondary
#A4CB7D
accent
#E44494
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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