#7631EA#7631EA

#7631EA is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.4% C 0.251 H 292.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#7631EA
RGBrgb(118, 49, 234)
HSLhsl(262, 81%, 55%)
HSVhsv(262, 79%, 92%)
CMYKcmyk(49.6%, 79.1%, 0%, 8.2%)
CIE-LABlab(41.20, 66.91, -81.03)
CIE-LCHlch(41.20, 105.08, 309.55°)
OKLaboklab(52.37% 0.0949 -0.2328)
OKLCHoklch(52.37% 0.251 292.2)
XYZxyz(23.4166, 11.9878, 78.9060)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631EA #A5EA31
analogous
#3149EA #7631EA #D231EA
triadic
#7631EA #EA7631 #31EA76
tetradic
#7631EA #EA3149 #A5EA31 #31EAD2
square
#7631EA #EA3149 #A5EA31 #31EAD2
split-complementary
#7631EA #EAD231 #49EA31
monochromatic
#400F92 #5815C9 #7631EA #9B69F0 #C0A0F5

Accessibility & contrast

On white

6.18
#7631EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7631EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7631EA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631EA#FFFFFF#000000##FFFFFF
##7631EA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064EF
Deuteranopia (green-blind)
#005DE7
Tritanopia (blue-blind)
#4F678E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7631ea;
/* rgb */ color: rgb(118, 49, 234);
/* oklch */ color: oklch(52.4% 0.251 292.2);
Tailwind
colors: {
  custom: {
    50: '#a972f2',
    500: '#7631ea',
    950: '#000000',
  },
}
SCSS
$custom: #7631ea;
$custom-light: #a972f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7631ea",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 234
  },
  "hsl": {
    "h": 262.378,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5237,
    "c": 0.25134,
    "h": 292.2
  },
  "luminance": 0.11989
}

Semantic roles & 50–950 ramp

primary
#7631EA
secondary
#C5E295
accent
#F830AD
background
#FBF7FF
surface
#F6EDFE
border
#D0C8D6
text
#110817
muted
#807B85

Preview Lab

Preview with #7631EA

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

Preview Lab → · Contrast checker → · Palette generator →

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