#7B64BB#7B64BB

#7B64BB is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.5% C 0.132 H 293.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7B64BB
RGBrgb(123, 100, 187)
HSLhsl(256, 39%, 56%)
HSVhsv(256, 47%, 73%)
CMYKcmyk(34.2%, 46.5%, 0%, 26.7%)
CIE-LABlab(48.15, 29.05, -42.79)
CIE-LCHlch(48.15, 51.72, 304.17°)
OKLaboklab(56.47% 0.0535 -0.1205)
OKLCHoklch(56.47% 0.132 293.9)
XYZxyz(21.6929, 16.9127, 49.1256)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64BB #A4BB64
analogous
#6479BB #7B64BB #A764BB
triadic
#7B64BB #BB7B64 #64BB7B
tetradic
#7B64BB #BB6479 #A4BB64 #64BBA7
square
#7B64BB #BB6479 #A4BB64 #64BBA7
split-complementary
#7B64BB #BBA764 #79BB64
monochromatic
#433272 #5C459D #7B64BB #9F8FCE #C3B9E0

Accessibility & contrast

On white

4.79
#7B64BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7B64BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B64BB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64BB#FFFFFF#000000##FFFFFF
##7B64BB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4773BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#6C7586
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7b64bb;
/* rgb */ color: rgb(123, 100, 187);
/* oklch */ color: oklch(56.5% 0.132 293.9);
Tailwind
colors: {
  custom: {
    50: '#a490d0',
    500: '#7b64bb',
    950: '#000000',
  },
}
SCSS
$custom: #7b64bb;
$custom-light: #a490d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64bb",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 187
  },
  "hsl": {
    "h": 255.862,
    "s": 39.013,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.13185,
    "h": 293.9
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#7B64BB
secondary
#C6CFAB
accent
#CF59B0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7B64BB

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

Preview Lab → · Contrast checker → · Palette generator →

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