#7631C9#7631C9

#7631C9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.218 H 298.6°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7631C9
RGBrgb(118, 49, 201)
HSLhsl(267, 61%, 49%)
HSVhsv(267, 76%, 79%)
CMYKcmyk(41.3%, 75.6%, 0%, 21.2%)
CIE-LABlab(38.31, 58.80, -66.81)
CIE-LCHlch(38.31, 89.00, 311.35°)
OKLaboklab(49.48% 0.1042 -0.1911)
OKLCHoklch(49.48% 0.218 298.6)
XYZxyz(19.1094, 10.2649, 56.2216)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631C9 #84C931
analogous
#3138C9 #7631C9 #C231C9
triadic
#7631C9 #C97631 #31C976
tetradic
#7631C9 #C93138 #84C931 #31C9C2
square
#7631C9 #C93138 #84C931 #31C9C2
split-complementary
#7631C9 #C9C231 #38C931
monochromatic
#3C1967 #592598 #7631C9 #965FD8 #B690E4

Accessibility & contrast

On white

6.88
#7631C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7631C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7631C9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631C9#FFFFFF#000000##FFFFFF
##7631C91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#61597B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7631c9;
/* rgb */ color: rgb(118, 49, 201);
/* oklch */ color: oklch(49.5% 0.218 298.6);
Tailwind
colors: {
  custom: {
    50: '#a570da',
    500: '#7631c9',
    950: '#000000',
  },
}
SCSS
$custom: #7631c9;
$custom-light: #a570da;
$custom-dark: #000000;
JSON
{
  "hex": "#7631c9",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 267.237,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.4948,
    "c": 0.21766,
    "h": 298.6
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#7631C9
secondary
#AECF87
accent
#E4449B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7631C9

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

Preview Lab → · Contrast checker → · Palette generator →

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