#7631BC#7631BC

#7631BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.204 H 301.7°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7631BC
RGBrgb(118, 49, 188)
HSLhsl(270, 59%, 46%)
HSVhsv(270, 74%, 74%)
CMYKcmyk(37.2%, 73.9%, 0%, 26.3%)
CIE-LABlab(37.26, 55.66, -60.92)
CIE-LCHlch(37.26, 82.52, 312.42°)
OKLaboklab(48.41% 0.1073 -0.1738)
OKLCHoklch(48.41% 0.204 301.7)
XYZxyz(17.6444, 9.6789, 48.5058)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631BC #77BC31
analogous
#3132BC #7631BC #BC31BC
triadic
#7631BC #BC7631 #31BC76
tetradic
#7631BC #BC3132 #77BC31 #31BCBC
square
#7631BC #BC3132 #77BC31 #31BCBC
split-complementary
#7631BC #BCBC31 #32BC31
monochromatic
#39185B #58248B #7631BC #9557D3 #B388E0

Accessibility & contrast

On white

7.15
#7631BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7631BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631BC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631BC#FFFFFF#000000##FFFFFF
##7631BC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#675474
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7631bc;
/* rgb */ color: rgb(118, 49, 188);
/* oklch */ color: oklch(48.4% 0.204 301.7);
Tailwind
colors: {
  custom: {
    50: '#a470d1',
    500: '#7631bc',
    950: '#000000',
  },
}
SCSS
$custom: #7631bc;
$custom-light: #a470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7631bc",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 269.784,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.20422,
    "h": 301.7
  },
  "luminance": 0.09679
}

Semantic roles & 50–950 ramp

primary
#7631BC
secondary
#A5CA7F
accent
#E24694
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7631BC

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

Preview Lab → · Contrast checker → · Palette generator →

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