#7D64FA#7D64FA

#7D64FA is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 60.8% C 0.214 H 285.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7D64FA
RGBrgb(125, 100, 250)
HSLhsl(250, 94%, 69%)
HSVhsv(250, 60%, 98%)
CMYKcmyk(50%, 60%, 0%, 2%)
CIE-LABlab(52.26, 47.21, -71.91)
CIE-LCHlch(52.26, 86.02, 303.29°)
OKLaboklab(60.82% 0.0581 -0.206)
OKLCHoklch(60.82% 0.214 285.8)
XYZxyz(30.2648, 20.3749, 92.7620)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64FA #E1FA64
analogous
#6496FA #7D64FA #C864FA
triadic
#7D64FA #FA7D64 #64FA7D
tetradic
#7D64FA #FA6496 #E1FA64 #64FAC8
square
#7D64FA #FA6496 #E1FA64 #64FAC8
split-complementary
#7D64FA #FAC864 #96FA64
monochromatic
#2B07DC #4B29F8 #7D64FA #AF9FFC #E0DBFE

Accessibility & contrast

On white

4.14
#7D64FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7D64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D64FA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64FA#FFFFFF#000000##000000
##7D64FA1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d64fa;
/* rgb */ color: rgb(125, 100, 250);
/* oklch */ color: oklch(60.8% 0.214 285.8);
Tailwind
colors: {
  custom: {
    50: '#ac91fd',
    500: '#7d64fa',
    950: '#000000',
  },
}
SCSS
$custom: #7d64fa;
$custom-light: #ac91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64fa",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 250,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60822,
    "c": 0.21401,
    "h": 285.8
  },
  "luminance": 0.20376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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