#7D64BF#7D64BF

#7D64BF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.137 H 294.3°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D64BF
RGBrgb(125, 100, 191)
HSLhsl(256, 42%, 57%)
HSVhsv(256, 48%, 75%)
CMYKcmyk(34.6%, 47.6%, 0%, 25.1%)
CIE-LABlab(48.56, 30.66, -44.45)
CIE-LCHlch(48.56, 54.00, 304.60°)
OKLaboklab(56.9% 0.0565 -0.1253)
OKLCHoklch(56.9% 0.137 294.3)
XYZxyz(22.4162, 17.2355, 51.4259)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64BF #A6BF64
analogous
#6478BF #7D64BF #AB64BF
triadic
#7D64BF #BF7D64 #64BF7D
tetradic
#7D64BF #BF6478 #A6BF64 #64BFAB
square
#7D64BF #BF6478 #A6BF64 #64BFAB
split-complementary
#7D64BF #BFAB64 #78BF64
monochromatic
#453177 #5D43A3 #7D64BF #A18FD1 #C6BBE3

Accessibility & contrast

On white

4.72
#7D64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#7D64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64BF#FFFFFF#000000##FFFFFF
##7D64BF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#6E7588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7d64bf;
/* rgb */ color: rgb(125, 100, 191);
/* oklch */ color: oklch(56.9% 0.137 294.3);
Tailwind
colors: {
  custom: {
    50: '#a590d3',
    500: '#7d64bf',
    950: '#000000',
  },
}
SCSS
$custom: #7d64bf;
$custom-light: #a590d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64bf",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 256.484,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56895,
    "c": 0.13745,
    "h": 294.3
  },
  "luminance": 0.17236
}

Semantic roles & 50–950 ramp

primary
#7D64BF
secondary
#C8D2AD
accent
#D156B0
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #7D64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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