#7631C5#7631C5

#7631C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.214 H 299.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7631C5
RGBrgb(118, 49, 197)
HSLhsl(268, 60%, 48%)
HSVhsv(268, 75%, 77%)
CMYKcmyk(40.1%, 75.1%, 0%, 22.7%)
CIE-LABlab(37.98, 57.83, -65.01)
CIE-LCHlch(37.98, 87.01, 311.65°)
OKLaboklab(49.15% 0.1052 -0.1858)
OKLCHoklch(49.15% 0.214 299.5)
XYZxyz(18.6450, 10.0792, 53.7757)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631C5 #80C531
analogous
#3136C5 #7631C5 #C031C5
triadic
#7631C5 #C57631 #31C576
tetradic
#7631C5 #C53136 #80C531 #31C5C0
square
#7631C5 #C53136 #80C531 #31C5C0
split-complementary
#7631C5 #C5C031 #36C531
monochromatic
#3B1963 #592594 #7631C5 #955DD7 #B58EE3

Accessibility & contrast

On white

6.96
#7631C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7631C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7631C5
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631C5#FFFFFF#000000##FFFFFF
##7631C51.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#635879
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7631c5;
/* rgb */ color: rgb(118, 49, 197);
/* oklch */ color: oklch(49.1% 0.214 299.5);
Tailwind
colors: {
  custom: {
    50: '#a470d8',
    500: '#7631c5',
    950: '#000000',
  },
}
SCSS
$custom: #7631c5;
$custom-light: #a470d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7631c5",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 197
  },
  "hsl": {
    "h": 267.973,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.21352,
    "h": 299.5
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#7631C5
secondary
#ABCD85
accent
#E34499
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7631C5

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

Preview Lab → · Contrast checker → · Palette generator →

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