#7E63F2#7E63F2

#7E63F2 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.2% C 0.205 H 287.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7E63F2
RGBrgb(126, 99, 242)
HSLhsl(251, 85%, 67%)
HSVhsv(251, 59%, 95%)
CMYKcmyk(47.9%, 59.1%, 0%, 5.1%)
CIE-LABlab(51.57, 45.68, -68.56)
CIE-LCHlch(51.57, 82.38, 303.67°)
OKLaboklab(60.17% 0.0608 -0.1961)
OKLCHoklch(60.17% 0.205 287.2)
XYZxyz(29.0884, 19.7688, 86.2703)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E63F2 #D7F263
analogous
#6390F2 #7E63F2 #C663F2
triadic
#7E63F2 #F27E63 #63F27E
tetradic
#7E63F2 #F26390 #D7F263 #63F2C6
square
#7E63F2 #F26390 #D7F263 #63F2C6
split-complementary
#7E63F2 #F2C663 #90F263
monochromatic
#3411CA #4F2BED #7E63F2 #AD9BF7 #DBD4FB

Accessibility & contrast

On white

4.24
#7E63F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#7E63F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E63F2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E63F2#FFFFFF#000000##000000
##7E63F21.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#5684A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e63f2;
/* rgb */ color: rgb(126, 99, 242);
/* oklch */ color: oklch(60.2% 0.205 287.2);
Tailwind
colors: {
  custom: {
    50: '#ab90f7',
    500: '#7e63f2',
    950: '#000000',
  },
}
SCSS
$custom: #7e63f2;
$custom-light: #ab90f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e63f2",
  "rgb": {
    "r": 126,
    "g": 99,
    "b": 242
  },
  "hsl": {
    "h": 251.329,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.20527,
    "h": 287.2
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#7E63F2
secondary
#E7EFC2
accent
#E104B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110D17
muted
#807D85

Preview Lab

Preview with #7E63F2

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

Preview Lab → · Contrast checker → · Palette generator →

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