#7631AE#7631AE

#7631AE is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.190 H 305.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7631AE
RGBrgb(118, 49, 174)
HSLhsl(273, 56%, 44%)
HSVhsv(273, 72%, 68%)
CMYKcmyk(32.2%, 71.8%, 0%, 31.8%)
CIE-LABlab(36.18, 52.33, -54.38)
CIE-LCHlch(36.18, 75.47, 313.90°)
OKLaboklab(47.31% 0.1099 -0.1545)
OKLCHoklch(47.31% 0.19 305.4)
XYZxyz(16.2078, 9.1043, 40.9396)
Luminance0.0910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631AE #69AE31
analogous
#3731AE #7631AE #AE31A7
triadic
#7631AE #AE7631 #31AE76
tetradic
#7631AE #AE3731 #69AE31 #31A7AE
square
#7631AE #AE3731 #69AE31 #31A7AE
split-complementary
#7631AE #A7AE31 #31AE37
monochromatic
#35164E #56247E #7631AE #954FCD #B17FDB

Accessibility & contrast

On white

7.44
#7631AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7631AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631AE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631AE#FFFFFF#000000##FFFFFF
##7631AE1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#6C4E6C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7631ae;
/* rgb */ color: rgb(118, 49, 174);
/* oklch */ color: oklch(47.3% 0.190 305.4);
Tailwind
colors: {
  custom: {
    50: '#a26fc7',
    500: '#7631ae',
    950: '#000000',
  },
}
SCSS
$custom: #7631ae;
$custom-light: #a26fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7631ae",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 273.12,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47314,
    "c": 0.18966,
    "h": 305.4
  },
  "luminance": 0.09104
}

Semantic roles & 50–950 ramp

primary
#7631AE
secondary
#99C477
accent
#DF488C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7631AE

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

Preview Lab → · Contrast checker → · Palette generator →

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