#7631BB#7631BB

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

Color values

HEX#7631BB
RGBrgb(118, 49, 187)
HSLhsl(270, 58%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(36.9%, 73.8%, 0%, 26.7%)
CIE-LABlab(37.18, 55.42, -60.46)
CIE-LCHlch(37.18, 82.02, 312.51°)
OKLaboklab(48.33% 0.1075 -0.1724)
OKLCHoklch(48.33% 0.203 301.9)
XYZxyz(17.5370, 9.6360, 47.9401)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631BB #76BB31
analogous
#3131BB #7631BB #BB31BB
triadic
#7631BB #BB7631 #31BB76
tetradic
#7631BB #BB3131 #76BB31 #31BBBB
square
#7631BB #BB3131 #76BB31 #31BBBB
split-complementary
#7631BB #BBBB31 #31BB31
monochromatic
#39185A #57248B #7631BB #9556D3 #B387E0

Accessibility & contrast

On white

7.17
#7631BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7631BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631BB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631BB#FFFFFF#000000##FFFFFF
##7631BB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#675474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7631bb;
/* rgb */ color: rgb(118, 49, 187);
/* oklch */ color: oklch(48.3% 0.203 301.9);
Tailwind
colors: {
  custom: {
    50: '#a370d0',
    500: '#7631bb',
    950: '#000000',
  },
}
SCSS
$custom: #7631bb;
$custom-light: #a370d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7631bb",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48332,
    "c": 0.20318,
    "h": 301.9
  },
  "luminance": 0.09636
}

Semantic roles & 50–950 ramp

primary
#7631BB
secondary
#A4C97F
accent
#E24694
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7631BB

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

Preview Lab → · Contrast checker → · Palette generator →

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