#762EBF#762EBF

#762EBF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.210 H 301.3°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#762EBF
RGBrgb(118, 46, 191)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 75%)
CMYKcmyk(38.2%, 75.9%, 0%, 25.1%)
CIE-LABlab(37.05, 57.65, -63.02)
CIE-LCHlch(37.05, 85.41, 312.45°)
OKLaboklab(48.34% 0.1093 -0.1799)
OKLCHoklch(48.34% 0.21 301.3)
XYZxyz(17.8499, 9.5670, 50.1863)
Luminance0.0957 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762EBF #77BF2E
analogous
#2E2FBF #762EBF #BF2EBF
triadic
#762EBF #BF762E #2EBF76
tetradic
#762EBF #BF2E2F #77BF2E #2EBFBF
square
#762EBF #BF2E2F #77BF2E #2EBFBF
split-complementary
#762EBF #BFBF2E #2FBF2E
monochromatic
#39165C #58228E #762EBF #9554D6 #B386E2

Accessibility & contrast

On white

7.21
#762EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#762EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762EBF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762EBF#FFFFFF#000000##FFFFFF
##762EBF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#665475
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #762ebf;
/* rgb */ color: rgb(118, 46, 191);
/* oklch */ color: oklch(48.3% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#a46ed3',
    500: '#762ebf',
    950: '#000000',
  },
}
SCSS
$custom: #762ebf;
$custom-light: #a46ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#762ebf",
  "rgb": {
    "r": 118,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 269.793,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.21049,
    "h": 301.3
  },
  "luminance": 0.09567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #762EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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