#7631B8#7631B8

#7631B8 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.200 H 302.7°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#7631B8
RGBrgb(118, 49, 184)
HSLhsl(271, 58%, 46%)
HSVhsv(271, 73%, 72%)
CMYKcmyk(35.9%, 73.4%, 0%, 27.8%)
CIE-LABlab(36.95, 54.70, -59.07)
CIE-LCHlch(36.95, 80.51, 312.80°)
OKLaboklab(48.09% 0.1081 -0.1683)
OKLCHoklch(48.09% 0.2 302.7)
XYZxyz(17.2192, 9.5088, 46.2663)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631B8 #73B831
analogous
#3331B8 #7631B8 #B831B6
triadic
#7631B8 #B87631 #31B876
tetradic
#7631B8 #B83331 #73B831 #31B6B8
square
#7631B8 #B83331 #73B831 #31B6B8
split-complementary
#7631B8 #B6B831 #31B833
monochromatic
#381757 #572488 #7631B8 #9455D2 #B385DE

Accessibility & contrast

On white

7.24
#7631B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7631B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631B8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631B8#FFFFFF#000000##FFFFFF
##7631B81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#685272
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7631b8;
/* rgb */ color: rgb(118, 49, 184);
/* oklch */ color: oklch(48.1% 0.200 302.7);
Tailwind
colors: {
  custom: {
    50: '#a370ce',
    500: '#7631b8',
    950: '#000000',
  },
}
SCSS
$custom: #7631b8;
$custom-light: #a370ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7631b8",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 270.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.20007,
    "h": 302.7
  },
  "luminance": 0.09509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7631B8

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

Preview Lab → · Contrast checker → · Palette generator →

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