#7F63B2#7F63B2

#7F63B2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.2% C 0.122 H 298.8°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7F63B2
RGBrgb(127, 99, 178)
HSLhsl(261, 34%, 54%)
HSVhsv(261, 44%, 70%)
CMYKcmyk(28.7%, 44.4%, 0%, 30.2%)
CIE-LABlab(47.82, 28.39, -38.07)
CIE-LCHlch(47.82, 47.49, 306.72°)
OKLaboklab(56.16% 0.0586 -0.1066)
OKLCHoklch(56.16% 0.122 298.8)
XYZxyz(21.2482, 16.6499, 44.2052)
Luminance0.1665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F63B2 #96B263
analogous
#636FB2 #7F63B2 #A763B2
triadic
#7F63B2 #B27F63 #63B27F
tetradic
#7F63B2 #B2636F #96B263 #63B2A7
square
#7F63B2 #B2636F #96B263 #63B2A7
split-complementary
#7F63B2 #B2A763 #6FB263
monochromatic
#463368 #614790 #7F63B2 #A18CC6 #C2B5DA

Accessibility & contrast

On white

4.85
#7F63B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7F63B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F63B2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F63B2#FFFFFF#000000##FFFFFF
##7F63B21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#757182
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7f63b2;
/* rgb */ color: rgb(127, 99, 178);
/* oklch */ color: oklch(56.2% 0.122 298.8);
Tailwind
colors: {
  custom: {
    50: '#a690c9',
    500: '#7f63b2',
    950: '#000000',
  },
}
SCSS
$custom: #7f63b2;
$custom-light: #a690c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f63b2",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 178
  },
  "hsl": {
    "h": 261.266,
    "s": 33.906,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.12165,
    "h": 298.8
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#7F63B2
secondary
#BDC9A8
accent
#CA5EA4
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7F63B2

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

Preview Lab → · Contrast checker → · Palette generator →

#7F63B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva