#7631AB#7631AB

#7631AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.187 H 306.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7631AB
RGBrgb(118, 49, 171)
HSLhsl(274, 55%, 43%)
HSVhsv(274, 71%, 67%)
CMYKcmyk(31%, 71.3%, 0%, 32.9%)
CIE-LABlab(35.96, 51.63, -52.95)
CIE-LCHlch(35.96, 73.96, 314.28°)
OKLaboklab(47.09% 0.1104 -0.1504)
OKLCHoklch(47.09% 0.187 306.3)
XYZxyz(15.9186, 8.9886, 39.4165)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631AB #66AB31
analogous
#3931AB #7631AB #AB31A3
triadic
#7631AB #AB7631 #31AB76
tetradic
#7631AB #AB3931 #66AB31 #31A3AB
square
#7631AB #AB3931 #66AB31 #31A3AB
split-complementary
#7631AB #A3AB31 #31AB39
monochromatic
#34164C #55237B #7631AB #954DCC #B17DDA

Accessibility & contrast

On white

7.51
#7631AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7631AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631AB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631AB#FFFFFF#000000##FFFFFF
##7631AB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#6D4D6B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7631ab;
/* rgb */ color: rgb(118, 49, 171);
/* oklch */ color: oklch(47.1% 0.187 306.3);
Tailwind
colors: {
  custom: {
    50: '#a26fc5',
    500: '#7631ab',
    950: '#000000',
  },
}
SCSS
$custom: #7631ab;
$custom-light: #a26fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7631ab",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 273.934,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.18654,
    "h": 306.3
  },
  "luminance": 0.08988
}

Semantic roles & 50–950 ramp

primary
#7631AB
secondary
#97C275
accent
#DF498A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7631AB

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

Preview Lab → · Contrast checker → · Palette generator →

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