#7A64BF#7A64BF

#7A64BF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.6% C 0.137 H 292.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A64BF
RGBrgb(122, 100, 191)
HSLhsl(255, 42%, 57%)
HSVhsv(255, 48%, 75%)
CMYKcmyk(36.1%, 47.6%, 0%, 25.1%)
CIE-LABlab(48.28, 29.87, -44.91)
CIE-LCHlch(48.28, 53.94, 303.63°)
OKLaboklab(56.62% 0.0528 -0.1267)
OKLCHoklch(56.62% 0.137 292.6)
XYZxyz(21.9847, 17.0130, 51.4057)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A64BF #A9BF64
analogous
#647CBF #7A64BF #A764BF
triadic
#7A64BF #BF7A64 #64BF7A
tetradic
#7A64BF #BF647C #A9BF64 #64BFA7
square
#7A64BF #BF647C #A9BF64 #64BFA7
split-complementary
#7A64BF #BFA764 #7CBF64
monochromatic
#423177 #5A43A3 #7A64BF #9F8FD1 #C4BBE3

Accessibility & contrast

On white

4.77
#7A64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7A64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A64BF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A64BF#FFFFFF#000000##FFFFFF
##7A64BF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#697688
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a64bf;
/* rgb */ color: rgb(122, 100, 191);
/* oklch */ color: oklch(56.6% 0.137 292.6);
Tailwind
colors: {
  custom: {
    50: '#a490d3',
    500: '#7a64bf',
    950: '#000000',
  },
}
SCSS
$custom: #7a64bf;
$custom-light: #a490d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a64bf",
  "rgb": {
    "r": 122,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 254.505,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.13727,
    "h": 292.6
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

primary
#7A64BF
secondary
#C9D2AD
accent
#D156B4
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7A64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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