#762AB3#762AB3

#762AB3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 304.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#762AB3
RGBrgb(118, 42, 179)
HSLhsl(273, 62%, 43%)
HSVhsv(273, 77%, 70%)
CMYKcmyk(34.1%, 76.5%, 0%, 29.8%)
CIE-LABlab(35.52, 56.47, -58.43)
CIE-LCHlch(35.52, 81.26, 314.02°)
OKLaboklab(46.97% 0.1156 -0.1664)
OKLCHoklch(46.97% 0.203 304.8)
XYZxyz(16.4340, 8.7622, 43.4646)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762AB3 #67B32A
analogous
#322AB3 #762AB3 #B32AAB
triadic
#762AB3 #B3762A #2AB376
tetradic
#762AB3 #B3322A #67B32A #2AABB3
square
#762AB3 #B3322A #67B32A #2AABB3
split-complementary
#762AB3 #ABB32A #2AB332
monochromatic
#351350 #551E81 #762AB3 #9546D4 #B178DF

Accessibility & contrast

On white

7.63
#762AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#762AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762AB3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762AB3#FFFFFF#000000##FFFFFF
##762AB31.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#6A4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #762ab3;
/* rgb */ color: rgb(118, 42, 179);
/* oklch */ color: oklch(47.0% 0.203 304.8);
Tailwind
colors: {
  custom: {
    50: '#a36ccb',
    500: '#762ab3',
    950: '#000000',
  },
}
SCSS
$custom: #762ab3;
$custom-light: #a36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#762ab3",
  "rgb": {
    "r": 118,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 273.285,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.20261,
    "h": 304.8
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#762AB3
secondary
#98C772
accent
#E5438B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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