#762FAB#762FAB

#762FAB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.189 H 306.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#762FAB
RGBrgb(118, 47, 171)
HSLhsl(274, 57%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31%, 72.5%, 0%, 32.9%)
CIE-LABlab(35.65, 52.53, -53.46)
CIE-LCHlch(35.65, 74.95, 314.49°)
OKLaboklab(46.86% 0.1125 -0.1518)
OKLCHoklch(46.86% 0.189 306.5)
XYZxyz(15.8368, 8.8250, 39.3893)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762FAB #64AB2F
analogous
#382FAB #762FAB #AB2FA2
triadic
#762FAB #AB762F #2FAB76
tetradic
#762FAB #AB382F #64AB2F #2FA2AB
square
#762FAB #AB382F #64AB2F #2FA2AB
split-complementary
#762FAB #A2AB2F #2FAB38
monochromatic
#34154B #55227B #762FAB #954ACD #B17ADA

Accessibility & contrast

On white

7.59
#762FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#762FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762FAB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762FAB#FFFFFF#000000##FFFFFF
##762FAB1.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#6D4C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762fab;
/* rgb */ color: rgb(118, 47, 171);
/* oklch */ color: oklch(46.9% 0.189 306.5);
Tailwind
colors: {
  custom: {
    50: '#a26ec5',
    500: '#762fab',
    950: '#000000',
  },
}
SCSS
$custom: #762fab;
$custom-light: #a26ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#762fab",
  "rgb": {
    "r": 118,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 274.355,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.18895,
    "h": 306.5
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#762FAB
secondary
#95C373
accent
#E04889
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #762FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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