#7732A2#7732A2

#7732A2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.176 H 309.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7732A2
RGBrgb(119, 50, 162)
HSLhsl(277, 53%, 42%)
HSVhsv(277, 69%, 64%)
CMYKcmyk(26.5%, 69.1%, 0%, 36.5%)
CIE-LABlab(35.62, 49.30, -48.10)
CIE-LCHlch(35.62, 68.88, 315.71°)
OKLaboklab(46.67% 0.1119 -0.1361)
OKLCHoklch(46.67% 0.176 309.4)
XYZxyz(15.2686, 8.8121, 35.0720)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7732A2 #5DA232
analogous
#3F32A2 #7732A2 #A23295
triadic
#7732A2 #A27732 #32A277
tetradic
#7732A2 #A23F32 #5DA232 #3295A2
square
#7732A2 #A23F32 #5DA232 #3295A2
split-complementary
#7732A2 #95A232 #32A23F
monochromatic
#321544 #552473 #7732A2 #974AC7 #B279D6

Accessibility & contrast

On white

7.60
#7732A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7732A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7732A2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7732A2#FFFFFF#000000##FFFFFF
##7732A21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#1E55A0
Tritanopia (blue-blind)
#714A66
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7732a2;
/* rgb */ color: rgb(119, 50, 162);
/* oklch */ color: oklch(46.7% 0.176 309.4);
Tailwind
colors: {
  custom: {
    50: '#a26fbe',
    500: '#7732a2',
    950: '#000000',
  },
}
SCSS
$custom: #7732a2;
$custom-light: #a26fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7732a2",
  "rgb": {
    "r": 119,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 276.964,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46667,
    "c": 0.17616,
    "h": 309.4
  },
  "luminance": 0.08812
}

Semantic roles & 50–950 ramp

primary
#7732A2
secondary
#8FBE72
accent
#DC4C83
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7732A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7732A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva