#7631CA#7631CA

#7631CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.219 H 298.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#7631CA
RGBrgb(118, 49, 202)
HSLhsl(267, 61%, 49%)
HSVhsv(267, 76%, 79%)
CMYKcmyk(41.6%, 75.7%, 0%, 20.8%)
CIE-LABlab(38.40, 59.05, -67.25)
CIE-LCHlch(38.40, 89.50, 311.28°)
OKLaboklab(49.56% 0.104 -0.1924)
OKLCHoklch(49.56% 0.219 298.4)
XYZxyz(19.2275, 10.3121, 56.8431)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7631CA #85CA31
analogous
#3139CA #7631CA #C331CA
triadic
#7631CA #CA7631 #31CA76
tetradic
#7631CA #CA3139 #85CA31 #31CAC3
square
#7631CA #CA3139 #85CA31 #31CAC3
split-complementary
#7631CA #CAC331 #39CA31
monochromatic
#3C1967 #592599 #7631CA #9660D8 #B791E4

Accessibility & contrast

On white

6.86
#7631CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#7631CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7631CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7631CA#FFFFFF#000000##FFFFFF
##7631CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#615A7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7631ca;
/* rgb */ color: rgb(118, 49, 202);
/* oklch */ color: oklch(49.6% 0.219 298.4);
Tailwind
colors: {
  custom: {
    50: '#a570db',
    500: '#7631ca',
    950: '#000000',
  },
}
SCSS
$custom: #7631ca;
$custom-light: #a570db;
$custom-dark: #000000;
JSON
{
  "hex": "#7631ca",
  "rgb": {
    "r": 118,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 267.059,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49564,
    "c": 0.21868,
    "h": 298.4
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#7631CA
secondary
#AFCF88
accent
#E4449C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7631CA

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

Preview Lab → · Contrast checker → · Palette generator →

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