#7631B5#7631B5

#7631B5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.197 H 303.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7631B5
RGBrgb(118, 49, 181)
HSLhsl(271, 57%, 45%)
HSVhsv(271, 73%, 71%)
CMYKcmyk(34.8%, 72.9%, 0%, 29%)
CIE-LABlab(36.71, 53.99, -57.68)
CIE-LCHlch(36.71, 79.00, 313.11°)
OKLaboklab(47.86% 0.1087 -0.1642)
OKLCHoklch(47.86% 0.197 303.5)
XYZxyz(16.9081, 9.3844, 44.6277)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631B5 #70B531
analogous
#3431B5 #7631B5 #B531B2
triadic
#7631B5 #B57631 #31B576
tetradic
#7631B5 #B53431 #70B531 #31B2B5
square
#7631B5 #B53431 #70B531 #31B2B5
split-complementary
#7631B5 #B2B531 #31B534
monochromatic
#371755 #572485 #7631B5 #9453D0 #B283DD

Accessibility & contrast

On white

7.30
#7631B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7631B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631B5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631B5#FFFFFF#000000##FFFFFF
##7631B51.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#695170
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7631b5;
/* rgb */ color: rgb(118, 49, 181);
/* oklch */ color: oklch(47.9% 0.197 303.5);
Tailwind
colors: {
  custom: {
    50: '#a36fcc',
    500: '#7631b5',
    950: '#000000',
  },
}
SCSS
$custom: #7631b5;
$custom-light: #a36fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7631b5",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 271.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47856,
    "c": 0.19694,
    "h": 303.5
  },
  "luminance": 0.09384
}

Semantic roles & 50–950 ramp

primary
#7631B5
secondary
#9FC77B
accent
#E14790
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7631B5

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

Preview Lab → · Contrast checker → · Palette generator →

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