#7631BA#7631BA

#7631BA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.3% C 0.202 H 302.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7631BA
RGBrgb(118, 49, 186)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(36.6%, 73.7%, 0%, 27.1%)
CIE-LABlab(37.10, 55.18, -60.00)
CIE-LCHlch(37.10, 81.52, 312.60°)
OKLaboklab(48.25% 0.1077 -0.1711)
OKLCHoklch(48.25% 0.202 302.2)
XYZxyz(17.4303, 9.5933, 47.3783)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631BA #75BA31
analogous
#3131BA #7631BA #BA31B9
triadic
#7631BA #BA7631 #31BA76
tetradic
#7631BA #BA3131 #75BA31 #31B9BA
square
#7631BA #BA3131 #75BA31 #31B9BA
split-complementary
#7631BA #B9BA31 #31BA31
monochromatic
#391759 #57248A #7631BA #9556D2 #B386DF

Accessibility & contrast

On white

7.20
#7631BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#7631BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631BA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631BA#FFFFFF#000000##FFFFFF
##7631BA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#685373
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7631ba;
/* rgb */ color: rgb(118, 49, 186);
/* oklch */ color: oklch(48.3% 0.202 302.2);
Tailwind
colors: {
  custom: {
    50: '#a370d0',
    500: '#7631ba',
    950: '#000000',
  },
}
SCSS
$custom: #7631ba;
$custom-light: #a370d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7631ba",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 270.219,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48252,
    "c": 0.20214,
    "h": 302.2
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#7631BA
secondary
#A3C97E
accent
#E24693
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7631BA

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

Preview Lab → · Contrast checker → · Palette generator →

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