#7E64FA#7E64FA

#7E64FA is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 60.9% C 0.214 H 286.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E64FA
RGBrgb(126, 100, 250)
HSLhsl(250, 94%, 69%)
HSVhsv(250, 60%, 98%)
CMYKcmyk(49.6%, 60%, 0%, 2%)
CIE-LABlab(52.34, 47.40, -71.77)
CIE-LCHlch(52.34, 86.01, 303.44°)
OKLaboklab(60.9% 0.0594 -0.2055)
OKLCHoklch(60.9% 0.214 286.1)
XYZxyz(30.4116, 20.4506, 92.7689)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E64FA #E0FA64
analogous
#6495FA #7E64FA #C964FA
triadic
#7E64FA #FA7E64 #64FA7E
tetradic
#7E64FA #FA6495 #E0FA64 #64FAC9
square
#7E64FA #FA6495 #E0FA64 #64FAC9
split-complementary
#7E64FA #FAC964 #95FA64
monochromatic
#2C07DC #4D29F8 #7E64FA #AF9FFC #E1DBFE

Accessibility & contrast

On white

4.13
#7E64FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7E64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E64FA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E64FA#FFFFFF#000000##000000
##7E64FA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078F7
Tritanopia (blue-blind)
#5187A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e64fa;
/* rgb */ color: rgb(126, 100, 250);
/* oklch */ color: oklch(60.9% 0.214 286.1);
Tailwind
colors: {
  custom: {
    50: '#ac91fd',
    500: '#7e64fa',
    950: '#000000',
  },
}
SCSS
$custom: #7e64fa;
$custom-light: #ac91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e64fa",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 250.4,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60904,
    "c": 0.21392,
    "h": 286.1
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#7E64FA
secondary
#ECF3C7
accent
#E600BE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7E64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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