#762ABB#762ABB

#762ABB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.211 H 302.7°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#762ABB
RGBrgb(118, 42, 187)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 78%, 73%)
CMYKcmyk(36.9%, 77.5%, 0%, 26.7%)
CIE-LABlab(36.17, 58.32, -62.11)
CIE-LCHlch(36.17, 85.20, 313.20°)
OKLaboklab(47.62% 0.1136 -0.1772)
OKLCHoklch(47.62% 0.211 302.7)
XYZxyz(17.2667, 9.0953, 47.8500)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762ABB #6FBB2A
analogous
#2D2ABB #762ABB #BB2AB8
triadic
#762ABB #BB762A #2ABB76
tetradic
#762ABB #BB2D2A #6FBB2A #2AB8BB
square
#762ABB #BB2D2A #6FBB2A #2AB8BB
split-complementary
#762ABB #B8BB2A #2ABB2D
monochromatic
#371457 #561F89 #762ABB #944CD7 #B27DE2

Accessibility & contrast

On white

7.45
#762ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#762ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762ABB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762ABB#FFFFFF#000000##FFFFFF
##762ABB1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#675072
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #762abb;
/* rgb */ color: rgb(118, 42, 187);
/* oklch */ color: oklch(47.6% 0.211 302.7);
Tailwind
colors: {
  custom: {
    50: '#a46cd0',
    500: '#762abb',
    950: '#000000',
  },
}
SCSS
$custom: #762abb;
$custom-light: #a46cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#762abb",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 271.448,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.21053,
    "h": 302.7
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#762ABB
secondary
#9ECA76
accent
#E64190
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #762ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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