#7631AF#7631AF

#7631AF is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.191 H 305.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7631AF
RGBrgb(118, 49, 175)
HSLhsl(273, 56%, 44%)
HSVhsv(273, 72%, 69%)
CMYKcmyk(32.6%, 72%, 0%, 31.4%)
CIE-LABlab(36.26, 52.57, -54.85)
CIE-LCHlch(36.26, 75.98, 313.78°)
OKLaboklab(47.39% 0.1098 -0.1559)
OKLCHoklch(47.39% 0.191 305.1)
XYZxyz(16.3057, 9.1434, 41.4550)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631AF #6AAF31
analogous
#3731AF #7631AF #AF31A9
triadic
#7631AF #AF7631 #31AF76
tetradic
#7631AF #AF3731 #6AAF31 #31A9AF
square
#7631AF #AF3731 #6AAF31 #31A9AF
split-complementary
#7631AF #A9AF31 #31AF37
monochromatic
#36164F #56247F #7631AF #954FCE #B27FDB

Accessibility & contrast

On white

7.42
#7631AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7631AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631AF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631AF#FFFFFF#000000##FFFFFF
##7631AF1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#6B4F6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7631af;
/* rgb */ color: rgb(118, 49, 175);
/* oklch */ color: oklch(47.4% 0.191 305.1);
Tailwind
colors: {
  custom: {
    50: '#a26fc8',
    500: '#7631af',
    950: '#000000',
  },
}
SCSS
$custom: #7631af;
$custom-light: #a26fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7631af",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 272.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4739,
    "c": 0.1907,
    "h": 305.1
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7631AF

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

Preview Lab → · Contrast checker → · Palette generator →

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