#7631B0#7631B0

#7631B0 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.192 H 304.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7631B0
RGBrgb(118, 49, 176)
HSLhsl(273, 56%, 44%)
HSVhsv(273, 72%, 69%)
CMYKcmyk(33%, 72.2%, 0%, 31%)
CIE-LABlab(36.33, 52.80, -55.33)
CIE-LCHlch(36.33, 76.48, 313.66°)
OKLaboklab(47.47% 0.1096 -0.1573)
OKLCHoklch(47.47% 0.192 304.9)
XYZxyz(16.4042, 9.1829, 41.9741)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631B0 #6BB031
analogous
#3631B0 #7631B0 #B031AB
triadic
#7631B0 #B07631 #31B076
tetradic
#7631B0 #B03631 #6BB031 #31ABB0
square
#7631B0 #B03631 #6BB031 #31ABB0
split-complementary
#7631B0 #ABB031 #31B036
monochromatic
#361650 #562480 #7631B0 #9550CE #B280DC

Accessibility & contrast

On white

7.40
#7631B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7631B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631B0
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631B0#FFFFFF#000000##FFFFFF
##7631B01.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#6B4F6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7631b0;
/* rgb */ color: rgb(118, 49, 176);
/* oklch */ color: oklch(47.5% 0.192 304.9);
Tailwind
colors: {
  custom: {
    50: '#a26fc8',
    500: '#7631b0',
    950: '#000000',
  },
}
SCSS
$custom: #7631b0;
$custom-light: #a26fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7631b0",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 272.598,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47467,
    "c": 0.19175,
    "h": 304.9
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#7631B0
secondary
#9BC578
accent
#E0488D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7631B0

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

Preview Lab → · Contrast checker → · Palette generator →

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