#7F63F8#7F63F8

#7F63F8 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 60.7% C 0.213 H 286.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7F63F8
RGBrgb(127, 99, 248)
HSLhsl(251, 91%, 68%)
HSVhsv(251, 60%, 97%)
CMYKcmyk(48.8%, 60.1%, 0%, 2.7%)
CIE-LABlab(52.08, 47.58, -71.09)
CIE-LCHlch(52.08, 85.54, 303.79°)
OKLaboklab(60.69% 0.0618 -0.2035)
OKLCHoklch(60.69% 0.213 286.9)
XYZxyz(30.1525, 20.2116, 91.1012)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F63F8 #DCF863
analogous
#6391F8 #7F63F8 #C963F8
triadic
#7F63F8 #F87F63 #63F87F
tetradic
#7F63F8 #F86391 #DCF863 #63F8C9
square
#7F63F8 #F86391 #DCF863 #63F8C9
split-complementary
#7F63F8 #F8C963 #91F863
monochromatic
#300AD7 #4F28F5 #7F63F8 #AF9EFB #DFD8FD

Accessibility & contrast

On white

4.16
#7F63F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7F63F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F63F8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F63F8#FFFFFF#000000##000000
##7F63F81.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#0078F5
Tritanopia (blue-blind)
#5486A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7f63f8;
/* rgb */ color: rgb(127, 99, 248);
/* oklch */ color: oklch(60.7% 0.213 286.9);
Tailwind
colors: {
  custom: {
    50: '#ad90fb',
    500: '#7f63f8',
    950: '#000000',
  },
}
SCSS
$custom: #7f63f8;
$custom-light: #ad90fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f63f8",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 248
  },
  "hsl": {
    "h": 251.275,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60685,
    "c": 0.21265,
    "h": 286.9
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#7F63F8
secondary
#EAF2C5
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D18
muted
#807D86

Preview Lab

Preview with #7F63F8

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

Preview Lab → · Contrast checker → · Palette generator →

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