#762EBC#762EBC

#762EBC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.207 H 302.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#762EBC
RGBrgb(118, 46, 188)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 74%)
CMYKcmyk(37.2%, 75.5%, 0%, 26.3%)
CIE-LABlab(36.81, 56.94, -61.65)
CIE-LCHlch(36.81, 83.92, 312.72°)
OKLaboklab(48.1% 0.11 -0.1759)
OKLCHoklch(48.1% 0.207 302)
XYZxyz(17.5231, 9.4363, 48.4654)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EBC #74BC2E
analogous
#2F2EBC #762EBC #BC2EBB
triadic
#762EBC #BC762E #2EBC76
tetradic
#762EBC #BC2F2E #74BC2E #2EBBBC
square
#762EBC #BC2F2E #74BC2E #2EBBBC
split-complementary
#762EBC #BBBC2E #2EBC2F
monochromatic
#38165A #57228B #762EBC #9552D5 #B384E1

Accessibility & contrast

On white

7.27
#762EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#762EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EBC
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EBC#FFFFFF#000000##FFFFFF
##762EBC1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#675373
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762ebc;
/* rgb */ color: rgb(118, 46, 188);
/* oklch */ color: oklch(48.1% 0.207 302.0);
Tailwind
colors: {
  custom: {
    50: '#a46ed1',
    500: '#762ebc',
    950: '#000000',
  },
}
SCSS
$custom: #762ebc;
$custom-light: #a46ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#762ebc",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 270.423,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48096,
    "c": 0.20745,
    "h": 302
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#762EBC
secondary
#A2CA7C
accent
#E44493
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #762EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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