#7B64F6#7B64F6

#7B64F6 is a mid, highly saturated blue. Relative luminance 0.200; OKLCH L 60.4% C 0.209 H 285.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7B64F6
RGBrgb(123, 100, 246)
HSLhsl(249, 89%, 68%)
HSVhsv(249, 59%, 96%)
CMYKcmyk(50%, 59.3%, 0%, 3.5%)
CIE-LABlab(51.81, 45.68, -70.42)
CIE-LCHlch(51.81, 83.94, 302.97°)
OKLaboklab(60.37% 0.0558 -0.2016)
OKLCHoklch(60.37% 0.209 285.5)
XYZxyz(29.3552, 19.9776, 89.4802)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64F6 #DFF664
analogous
#6496F6 #7B64F6 #C464F6
triadic
#7B64F6 #F67B64 #64F67B
tetradic
#7B64F6 #F66496 #DFF664 #64F6C4
square
#7B64F6 #F66496 #DFF664 #64F6C4
split-complementary
#7B64F6 #F6C464 #96F664
monochromatic
#2C0CD3 #4A2AF3 #7B64F6 #AC9EF9 #DED8FD

Accessibility & contrast

On white

4.20
#7B64F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7B64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64F6
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64F6#FFFFFF#000000##000000
##7B64F61.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#4D86A4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7b64f6;
/* rgb */ color: rgb(123, 100, 246);
/* oklch */ color: oklch(60.4% 0.209 285.5);
Tailwind
colors: {
  custom: {
    50: '#aa91fa',
    500: '#7b64f6',
    950: '#000000',
  },
}
SCSS
$custom: #7b64f6;
$custom-light: #aa91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64f6",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 249.452,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.20921,
    "h": 285.5
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#7B64F6
secondary
#EAF1C4
accent
#E600C1
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7B64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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