#7631B7#7631B7

#7631B7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.199 H 303.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7631B7
RGBrgb(118, 49, 183)
HSLhsl(271, 58%, 45%)
HSVhsv(271, 73%, 72%)
CMYKcmyk(35.5%, 73.2%, 0%, 28.2%)
CIE-LABlab(36.87, 54.46, -58.61)
CIE-LCHlch(36.87, 80.01, 312.90°)
OKLaboklab(48.01% 0.1083 -0.167)
OKLCHoklch(48.01% 0.199 303)
XYZxyz(17.1148, 9.4671, 45.7162)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631B7 #72B731
analogous
#3331B7 #7631B7 #B731B5
triadic
#7631B7 #B77631 #31B776
tetradic
#7631B7 #B73331 #72B731 #31B5B7
square
#7631B7 #B73331 #72B731 #31B5B7
split-complementary
#7631B7 #B5B731 #31B733
monochromatic
#381756 #572487 #7631B7 #9454D1 #B384DE

Accessibility & contrast

On white

7.26
#7631B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7631B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631B7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631B7#FFFFFF#000000##FFFFFF
##7631B71.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#695271
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7631b7;
/* rgb */ color: rgb(118, 49, 183);
/* oklch */ color: oklch(48.0% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#a370cd',
    500: '#7631b7',
    950: '#000000',
  },
}
SCSS
$custom: #7631b7;
$custom-light: #a370cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7631b7",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 183
  },
  "hsl": {
    "h": 270.896,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48013,
    "c": 0.19902,
    "h": 303
  },
  "luminance": 0.09467
}

Semantic roles & 50–950 ramp

primary
#7631B7
secondary
#A1C87C
accent
#E14792
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7631B7

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

Preview Lab → · Contrast checker → · Palette generator →

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