#7631E2#7631E2

#7631E2 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.6% C 0.243 H 293.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7631E2
RGBrgb(118, 49, 226)
HSLhsl(263, 75%, 54%)
HSVhsv(263, 78%, 89%)
CMYKcmyk(47.8%, 78.3%, 0%, 11.4%)
CIE-LABlab(40.47, 64.94, -77.67)
CIE-LCHlch(40.47, 101.24, 309.90°)
OKLaboklab(51.65% 0.0973 -0.2229)
OKLCHoklch(51.65% 0.243 293.6)
XYZxyz(22.2932, 11.5384, 72.9893)
Luminance0.1154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631E2 #9DE231
analogous
#3145E2 #7631E2 #CF31E2
triadic
#7631E2 #E27631 #31E276
tetradic
#7631E2 #E23145 #9DE231 #31E2CF
square
#7631E2 #E23145 #9DE231 #31E2CF
split-complementary
#7631E2 #E2CF31 #45E231
monochromatic
#401386 #591ABB #7631E2 #9A67EA #BD9CF1

Accessibility & contrast

On white

6.35
#7631E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7631E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7631E2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631E2#FFFFFF#000000##FFFFFF
##7631E21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#54648A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7631e2;
/* rgb */ color: rgb(118, 49, 226);
/* oklch */ color: oklch(51.6% 0.243 293.6);
Tailwind
colors: {
  custom: {
    50: '#a872ec',
    500: '#7631e2',
    950: '#000000',
  },
}
SCSS
$custom: #7631e2;
$custom-light: #a872ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7631e2",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 263.39,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.24324,
    "h": 293.6
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#7631E2
secondary
#C0DD92
accent
#F236A9
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #7631E2

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

Preview Lab → · Contrast checker → · Palette generator →

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