#762BAA#762BAA

#762BAA is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.193 H 307.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#762BAA
RGBrgb(118, 43, 170)
HSLhsl(275, 60%, 42%)
HSVhsv(275, 75%, 67%)
CMYKcmyk(30.6%, 74.7%, 0%, 33.3%)
CIE-LABlab(34.97, 54.01, -53.97)
CIE-LCHlch(34.97, 76.35, 315.02°)
OKLaboklab(46.36% 0.1166 -0.1533)
OKLCHoklch(46.36% 0.193 307.2)
XYZxyz(15.5892, 8.4818, 38.8383)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#762BAA #5FAA2B
analogous
#372BAA #762BAA #AA2B9F
triadic
#762BAA #AA762B #2BAA76
tetradic
#762BAA #AA372B #5FAA2B #2B9FAA
square
#762BAA #AA372B #5FAA2B #2B9FAA
split-complementary
#762BAA #9FAA2B #2BAA37
monochromatic
#321248 #541F79 #762BAA #9643CF #B174DC

Accessibility & contrast

On white

7.79
#762BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#762BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #762BAA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##762BAA#FFFFFF#000000##FFFFFF
##762BAA1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#6D4A68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #762baa;
/* rgb */ color: rgb(118, 43, 170);
/* oklch */ color: oklch(46.4% 0.193 307.2);
Tailwind
colors: {
  custom: {
    50: '#a26cc4',
    500: '#762baa',
    950: '#000000',
  },
}
SCSS
$custom: #762baa;
$custom-light: #a26cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#762baa",
  "rgb": {
    "r": 118,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 275.433,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46357,
    "c": 0.19259,
    "h": 307.2
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#762BAA
secondary
#91C36E
accent
#E34586
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #762BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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