#7D64B2#7D64B2

#7D64B2 is a mid, moderate violet. Relative luminance 0.167; OKLCH L 56.2% C 0.120 H 297.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7D64B2
RGBrgb(125, 100, 178)
HSLhsl(259, 34%, 55%)
HSVhsv(259, 44%, 70%)
CMYKcmyk(29.8%, 43.8%, 0%, 30.2%)
CIE-LABlab(47.87, 27.22, -38.00)
CIE-LCHlch(47.87, 46.75, 305.62°)
OKLaboklab(56.15% 0.0547 -0.1065)
OKLCHoklch(56.15% 0.12 297.2)
XYZxyz(21.0486, 16.6884, 44.2231)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D64B2 #99B264
analogous
#6472B2 #7D64B2 #A464B2
triadic
#7D64B2 #B27D64 #64B27D
tetradic
#7D64B2 #B26472 #99B264 #64B2A4
square
#7D64B2 #B26472 #99B264 #64B2A4
split-complementary
#7D64B2 #B2A464 #72B264
monochromatic
#443468 #5F4891 #7D64B2 #9F8DC6 #C2B6DB

Accessibility & contrast

On white

4.84
#7D64B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#7D64B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D64B2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D64B2#FFFFFF#000000##FFFFFF
##7D64B21.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#5271B0
Tritanopia (blue-blind)
#727282
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7d64b2;
/* rgb */ color: rgb(125, 100, 178);
/* oklch */ color: oklch(56.2% 0.120 297.2);
Tailwind
colors: {
  custom: {
    50: '#a590c9',
    500: '#7d64b2',
    950: '#000000',
  },
}
SCSS
$custom: #7d64b2;
$custom-light: #a590c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d64b2",
  "rgb": {
    "r": 125,
    "g": 100,
    "b": 178
  },
  "hsl": {
    "h": 259.231,
    "s": 33.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.11969,
    "h": 297.2
  },
  "luminance": 0.16689
}

Semantic roles & 50–950 ramp

primary
#7D64B2
secondary
#BFC9A8
accent
#CA5EA7
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#0F0C13
muted
#7F7D82

Preview Lab

Preview with #7D64B2

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

Preview Lab → · Contrast checker → · Palette generator →

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