#7B64F8#7B64F8

#7B64F8 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.5% C 0.212 H 285.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7B64F8
RGBrgb(123, 100, 248)
HSLhsl(249, 91%, 68%)
HSVhsv(249, 60%, 97%)
CMYKcmyk(50.4%, 59.7%, 0%, 2.7%)
CIE-LABlab(51.95, 46.26, -71.31)
CIE-LCHlch(51.95, 85.00, 302.98°)
OKLaboklab(60.51% 0.0557 -0.2042)
OKLCHoklch(60.51% 0.212 285.3)
XYZxyz(29.6638, 20.1011, 91.1056)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64F8 #E1F864
analogous
#6497F8 #7B64F8 #C564F8
triadic
#7B64F8 #F87B64 #64F87B
tetradic
#7B64F8 #F86497 #E1F864 #64F8C5
square
#7B64F8 #F86497 #E1F864 #64F8C5
split-complementary
#7B64F8 #F8C564 #97F864
monochromatic
#2A0AD8 #4929F5 #7B64F8 #AD9FFB #DFD9FD

Accessibility & contrast

On white

4.18
#7B64F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7B64F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64F8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64F8#FFFFFF#000000##000000
##7B64F81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#4B87A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b64f8;
/* rgb */ color: rgb(123, 100, 248);
/* oklch */ color: oklch(60.5% 0.212 285.3);
Tailwind
colors: {
  custom: {
    50: '#aa91fb',
    500: '#7b64f8',
    950: '#000000',
  },
}
SCSS
$custom: #7b64f8;
$custom-light: #aa91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64f8",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 248
  },
  "hsl": {
    "h": 249.324,
    "s": 91.358,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60512,
    "c": 0.21171,
    "h": 285.3
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#7B64F8
secondary
#EBF2C5
accent
#E600C2
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B64F8

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

Preview Lab → · Contrast checker → · Palette generator →

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