#7631BD#7631BD

#7631BD is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.205 H 301.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7631BD
RGBrgb(118, 49, 189)
HSLhsl(270, 59%, 47%)
HSVhsv(270, 74%, 74%)
CMYKcmyk(37.6%, 74.1%, 0%, 25.9%)
CIE-LABlab(37.34, 55.90, -61.38)
CIE-LCHlch(37.34, 83.02, 312.33°)
OKLaboklab(48.49% 0.1071 -0.1751)
OKLCHoklch(48.49% 0.205 301.4)
XYZxyz(17.7526, 9.7222, 49.0755)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631BD #78BD31
analogous
#3132BD #7631BD #BC31BD
triadic
#7631BD #BD7631 #31BD76
tetradic
#7631BD #BD3132 #78BD31 #31BDBC
square
#7631BD #BD3132 #78BD31 #31BDBC
split-complementary
#7631BD #BDBC31 #32BD31
monochromatic
#39185C #58248C #7631BD #9558D4 #B488E0

Accessibility & contrast

On white

7.13
#7631BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7631BD
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631BD#FFFFFF#000000##FFFFFF
##7631BD1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#665475
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7631bd;
/* rgb */ color: rgb(118, 49, 189);
/* oklch */ color: oklch(48.5% 0.205 301.4);
Tailwind
colors: {
  custom: {
    50: '#a470d2',
    500: '#7631bd',
    950: '#000000',
  },
}
SCSS
$custom: #7631bd;
$custom-light: #a470d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7631bd",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 189
  },
  "hsl": {
    "h": 269.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48493,
    "c": 0.20525,
    "h": 301.4
  },
  "luminance": 0.09722
}

Semantic roles & 50–950 ramp

primary
#7631BD
secondary
#A5CA80
accent
#E24695
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7631BD

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

Preview Lab → · Contrast checker → · Palette generator →

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