#7631C4#7631C4

#7631C4 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.212 H 299.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7631C4
RGBrgb(118, 49, 196)
HSLhsl(268, 60%, 48%)
HSVhsv(268, 75%, 77%)
CMYKcmyk(39.8%, 75%, 0%, 23.1%)
CIE-LABlab(37.90, 57.59, -64.56)
CIE-LCHlch(37.90, 86.52, 311.73°)
OKLaboklab(49.06% 0.1055 -0.1845)
OKLCHoklch(49.06% 0.213 299.8)
XYZxyz(18.5308, 10.0335, 53.1742)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631C4 #7FC431
analogous
#3136C4 #7631C4 #BF31C4
triadic
#7631C4 #C47631 #31C476
tetradic
#7631C4 #C43136 #7FC431 #31C4BF
square
#7631C4 #C43136 #7FC431 #31C4BF
split-complementary
#7631C4 #C4BF31 #36C431
monochromatic
#3B1962 #592593 #7631C4 #955CD6 #B58DE2

Accessibility & contrast

On white

6.98
#7631C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7631C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7631C4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631C4#FFFFFF#000000##FFFFFF
##7631C41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#645779
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7631c4;
/* rgb */ color: rgb(118, 49, 196);
/* oklch */ color: oklch(49.1% 0.212 299.8);
Tailwind
colors: {
  custom: {
    50: '#a470d7',
    500: '#7631c4',
    950: '#000000',
  },
}
SCSS
$custom: #7631c4;
$custom-light: #a470d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7631c4",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 196
  },
  "hsl": {
    "h": 268.163,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49064,
    "c": 0.2125,
    "h": 299.8
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#7631C4
secondary
#ABCD84
accent
#E34599
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7631C4

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

Preview Lab → · Contrast checker → · Palette generator →

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