#762CAB#762CAB

#762CAB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.192 H 306.9°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#762CAB
RGBrgb(118, 44, 171)
HSLhsl(275, 59%, 42%)
HSVhsv(275, 74%, 67%)
CMYKcmyk(31%, 74.3%, 0%, 32.9%)
CIE-LABlab(35.19, 53.82, -54.20)
CIE-LCHlch(35.19, 76.38, 314.80°)
OKLaboklab(46.54% 0.1154 -0.154)
OKLCHoklch(46.54% 0.192 306.9)
XYZxyz(15.7210, 8.5934, 39.3507)
Luminance0.0859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762CAB #61AB2C
analogous
#372CAB #762CAB #AB2CA0
triadic
#762CAB #AB762C #2CAB76
tetradic
#762CAB #AB372C #61AB2C #2CA0AB
square
#762CAB #AB372C #61AB2C #2CA0AB
split-complementary
#762CAB #A0AB2C #2CAB37
monochromatic
#33134A #541F7A #762CAB #9645CF #B176DC

Accessibility & contrast

On white

7.72
#762CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#762CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762CAB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762CAB#FFFFFF#000000##FFFFFF
##762CAB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#6D4A69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #762cab;
/* rgb */ color: rgb(118, 44, 171);
/* oklch */ color: oklch(46.5% 0.192 306.9);
Tailwind
colors: {
  custom: {
    50: '#a26cc5',
    500: '#762cab',
    950: '#000000',
  },
}
SCSS
$custom: #762cab;
$custom-light: #a26cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#762cab",
  "rgb": {
    "r": 118,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 274.961,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.19245,
    "h": 306.9
  },
  "luminance": 0.08593
}

Semantic roles & 50–950 ramp

primary
#762CAB
secondary
#92C36F
accent
#E24687
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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