#7F63EA#7F63EA

#7F63EA is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.195 H 288.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7F63EA
RGBrgb(127, 99, 234)
HSLhsl(252, 76%, 65%)
HSVhsv(252, 58%, 92%)
CMYKcmyk(45.7%, 57.7%, 0%, 8.2%)
CIE-LABlab(51.12, 43.61, -64.81)
CIE-LCHlch(51.12, 78.11, 303.94°)
OKLaboklab(59.69% 0.0623 -0.185)
OKLCHoklch(59.69% 0.195 288.6)
XYZxyz(28.0613, 19.3751, 80.0872)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F63EA #CEEA63
analogous
#638BEA #7F63EA #C263EA
triadic
#7F63EA #EA7F63 #63EA7F
tetradic
#7F63EA #EA638B #CEEA63 #63EAC2
square
#7F63EA #EA638B #CEEA63 #63EAC2
split-complementary
#7F63EA #EAC263 #8BEA63
monochromatic
#3A19BA #532DE3 #7F63EA #AB99F1 #D8CFF9

Accessibility & contrast

On white

4.31
#7F63EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#7F63EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F63EA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F63EA#FFFFFF#000000##000000
##7F63EA1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#5D819D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7f63ea;
/* rgb */ color: rgb(127, 99, 234);
/* oklch */ color: oklch(59.7% 0.195 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab90f2',
    500: '#7f63ea',
    950: '#000000',
  },
}
SCSS
$custom: #7f63ea;
$custom-light: #ab90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f63ea",
  "rgb": {
    "r": 127,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 252.444,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.19521,
    "h": 288.6
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

primary
#7F63EA
secondary
#E2EBBE
accent
#D80DAE
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110D17
muted
#807D85

Preview Lab

Preview with #7F63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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