#7631B2#7631B2

#7631B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.194 H 304.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7631B2
RGBrgb(118, 49, 178)
HSLhsl(272, 57%, 45%)
HSVhsv(272, 72%, 70%)
CMYKcmyk(33.7%, 72.5%, 0%, 30.2%)
CIE-LABlab(36.49, 53.28, -56.27)
CIE-LCHlch(36.49, 77.49, 313.43°)
OKLaboklab(47.62% 0.1092 -0.1601)
OKLCHoklch(47.62% 0.194 304.3)
XYZxyz(16.6036, 9.2626, 43.0240)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631B2 #6DB231
analogous
#3631B2 #7631B2 #B231AE
triadic
#7631B2 #B27631 #31B276
tetradic
#7631B2 #B23631 #6DB231 #31AEB2
square
#7631B2 #B23631 #6DB231 #31AEB2
split-complementary
#7631B2 #AEB231 #31B236
monochromatic
#361752 #562482 #7631B2 #9451CF #B281DC

Accessibility & contrast

On white

7.36
#7631B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7631B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7631B2
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631B2#FFFFFF#000000##FFFFFF
##7631B21.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#6A506E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7631b2;
/* rgb */ color: rgb(118, 49, 178);
/* oklch */ color: oklch(47.6% 0.194 304.3);
Tailwind
colors: {
  custom: {
    50: '#a36fca',
    500: '#7631b2',
    950: '#000000',
  },
}
SCSS
$custom: #7631b2;
$custom-light: #a36fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7631b2",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 272.093,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.19383,
    "h": 304.3
  },
  "luminance": 0.09263
}

Semantic roles & 50–950 ramp

primary
#7631B2
secondary
#9DC579
accent
#E0488F
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7631B2

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

Preview Lab → · Contrast checker → · Palette generator →

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