#7631AC#7631AC

#7631AC is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.188 H 306.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7631AC
RGBrgb(118, 49, 172)
HSLhsl(274, 56%, 43%)
HSVhsv(274, 72%, 67%)
CMYKcmyk(31.4%, 71.5%, 0%, 32.5%)
CIE-LABlab(36.04, 51.87, -53.43)
CIE-LCHlch(36.04, 74.46, 314.15°)
OKLaboklab(47.16% 0.1103 -0.1517)
OKLCHoklch(47.16% 0.188 306)
XYZxyz(16.0143, 9.0269, 39.9204)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631AC #67AC31
analogous
#3931AC #7631AC #AC31A4
triadic
#7631AC #AC7631 #31AC76
tetradic
#7631AC #AC3931 #67AC31 #31A4AC
square
#7631AC #AC3931 #67AC31 #31A4AC
split-complementary
#7631AC #A4AC31 #31AC39
monochromatic
#35164D #55237C #7631AC #954ECC #B17DDA

Accessibility & contrast

On white

7.49
#7631AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7631AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631AC
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631AC#FFFFFF#000000##FFFFFF
##7631AC1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#6C4E6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7631ac;
/* rgb */ color: rgb(118, 49, 172);
/* oklch */ color: oklch(47.2% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#a26fc5',
    500: '#7631ac',
    950: '#000000',
  },
}
SCSS
$custom: #7631ac;
$custom-light: #a26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7631ac",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 172
  },
  "hsl": {
    "h": 273.659,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47162,
    "c": 0.18758,
    "h": 306
  },
  "luminance": 0.09027
}

Semantic roles & 50–950 ramp

primary
#7631AC
secondary
#98C376
accent
#DF498B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7631AC

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

Preview Lab → · Contrast checker → · Palette generator →

#7631AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva