#7631A6#7631A6

#7631A6 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.7% C 0.181 H 307.8°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7631A6
RGBrgb(118, 49, 166)
HSLhsl(275, 54%, 42%)
HSVhsv(275, 70%, 65%)
CMYKcmyk(28.9%, 70.5%, 0%, 34.9%)
CIE-LABlab(35.60, 50.47, -50.54)
CIE-LCHlch(35.60, 71.43, 314.96°)
OKLaboklab(46.71% 0.1111 -0.1433)
OKLCHoklch(46.71% 0.181 307.8)
XYZxyz(15.4510, 8.8016, 36.9539)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631A6 #61A631
analogous
#3C31A6 #7631A6 #A6319C
triadic
#7631A6 #A67631 #31A676
tetradic
#7631A6 #A63C31 #61A631 #319CA6
square
#7631A6 #A63C31 #61A631 #319CA6
split-complementary
#7631A6 #9CA631 #31A63C
monochromatic
#331547 #542377 #7631A6 #964ACA #B17AD8

Accessibility & contrast

On white

7.61
#7631A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7631A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631A6
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631A6#FFFFFF#000000##FFFFFF
##7631A61.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#1254A3
Tritanopia (blue-blind)
#6E4B68
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7631a6;
/* rgb */ color: rgb(118, 49, 166);
/* oklch */ color: oklch(46.7% 0.181 307.8);
Tailwind
colors: {
  custom: {
    50: '#a26fc1',
    500: '#7631a6',
    950: '#000000',
  },
}
SCSS
$custom: #7631a6;
$custom-light: #a26fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#7631a6",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 166
  },
  "hsl": {
    "h": 275.385,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.18132,
    "h": 307.8
  },
  "luminance": 0.08801
}

Semantic roles & 50–950 ramp

primary
#7631A6
secondary
#92C073
accent
#DE4A87
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #7631A6

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

Preview Lab → · Contrast checker → · Palette generator →

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