#7F63DC#7F63DC

#7F63DC is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.7% C 0.177 H 290.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7F63DC
RGBrgb(127, 99, 220)
HSLhsl(254, 63%, 63%)
HSVhsv(254, 55%, 86%)
CMYKcmyk(42.3%, 55%, 0%, 13.7%)
CIE-LABlab(50.22, 39.69, -58.37)
CIE-LCHlch(50.22, 70.58, 304.21°)
OKLaboklab(58.73% 0.0623 -0.1661)
OKLCHoklch(58.73% 0.177 290.5)
XYZxyz(26.1289, 18.6022, 69.9102)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F63DC #C0DC63
analogous
#6384DC #7F63DC #BB63DC
triadic
#7F63DC #DC7F63 #63DC7F
tetradic
#7F63DC #DC6384 #C0DC63 #63DCBB
square
#7F63DC #DC6384 #C0DC63 #63DCBB
split-complementary
#7F63DC #DCBB63 #84DC63
monochromatic
#4124A1 #5631D1 #7F63DC #A895E7 #D1C7F2

Accessibility & contrast

On white

4.45
#7F63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7F63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F63DC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F63DC#FFFFFF#000000##000000
##7F63DC1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#237AE0
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#657D96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7f63dc;
/* rgb */ color: rgb(127, 99, 220);
/* oklch */ color: oklch(58.7% 0.177 290.5);
Tailwind
colors: {
  custom: {
    50: '#a990e8',
    500: '#7f63dc',
    950: '#000000',
  },
}
SCSS
$custom: #7f63dc;
$custom-light: #a990e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f63dc",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 253.884,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58729,
    "c": 0.17736,
    "h": 290.5
  },
  "luminance": 0.18603
}

Semantic roles & 50–950 ramp

primary
#7F63DC
secondary
#D9E3B7
accent
#CB1AA2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7F63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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