#7631B9#7631B9

#7631B9 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.201 H 302.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7631B9
RGBrgb(118, 49, 185)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(36.2%, 73.5%, 0%, 27.5%)
CIE-LABlab(37.02, 54.94, -59.54)
CIE-LCHlch(37.02, 81.01, 312.70°)
OKLaboklab(48.17% 0.1079 -0.1697)
OKLCHoklch(48.17% 0.201 302.4)
XYZxyz(17.3244, 9.5509, 46.8203)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631B9 #74B931
analogous
#3231B9 #7631B9 #B931B8
triadic
#7631B9 #B97631 #31B976
tetradic
#7631B9 #B93231 #74B931 #31B8B9
square
#7631B9 #B93231 #74B931 #31B8B9
split-complementary
#7631B9 #B8B931 #31B932
monochromatic
#381758 #572489 #7631B9 #9555D2 #B386DF

Accessibility & contrast

On white

7.22
#7631B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7631B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631B9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631B9#FFFFFF#000000##FFFFFF
##7631B91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0057B6
Tritanopia (blue-blind)
#685372
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7631b9;
/* rgb */ color: rgb(118, 49, 185);
/* oklch */ color: oklch(48.2% 0.201 302.4);
Tailwind
colors: {
  custom: {
    50: '#a370cf',
    500: '#7631b9',
    950: '#000000',
  },
}
SCSS
$custom: #7631b9;
$custom-light: #a370cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7631b9",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 270.441,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48172,
    "c": 0.2011,
    "h": 302.4
  },
  "luminance": 0.09551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7631B9

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

Preview Lab → · Contrast checker → · Palette generator →

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