#762AB0#762AB0

#762AB0 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.200 H 305.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#762AB0
RGBrgb(118, 42, 176)
HSLhsl(274, 61%, 43%)
HSVhsv(274, 76%, 69%)
CMYKcmyk(33%, 76.1%, 0%, 31%)
CIE-LABlab(35.29, 55.78, -57.03)
CIE-LCHlch(35.29, 79.78, 314.37°)
OKLaboklab(46.73% 0.1163 -0.1623)
OKLCHoklch(46.73% 0.2 305.6)
XYZxyz(16.1339, 8.6422, 41.8840)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB0 #64B02A
analogous
#332AB0 #762AB0 #B02AA7
triadic
#762AB0 #B0762A #2AB076
tetradic
#762AB0 #B0332A #64B02A #2AA7B0
square
#762AB0 #B0332A #64B02A #2AA7B0
split-complementary
#762AB0 #A7B02A #2AB033
monochromatic
#34124D #551E7F #762AB0 #9545D3 #B176DE

Accessibility & contrast

On white

7.70
#762AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#762AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB0
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB0#FFFFFF#000000##FFFFFF
##762AB01.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#6B4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762ab0;
/* rgb */ color: rgb(118, 42, 176);
/* oklch */ color: oklch(46.7% 0.200 305.6);
Tailwind
colors: {
  custom: {
    50: '#a36cc8',
    500: '#762ab0',
    950: '#000000',
  },
}
SCSS
$custom: #762ab0;
$custom-light: #a36cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab0",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 274.03,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46727,
    "c": 0.19964,
    "h": 305.6
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#762AB0
secondary
#95C670
accent
#E54389
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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