#7B64FE#7B64FE

#7B64FE is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 61.0% C 0.219 H 284.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7B64FE
RGBrgb(123, 100, 254)
HSLhsl(249, 99%, 69%)
HSVhsv(249, 61%, 100%)
CMYKcmyk(51.6%, 60.6%, 0%, 0.4%)
CIE-LABlab(52.38, 48.00, -73.95)
CIE-LCHlch(52.38, 88.16, 302.99°)
OKLaboklab(60.96% 0.0554 -0.212)
OKLCHoklch(60.96% 0.219 284.6)
XYZxyz(30.6096, 20.4794, 96.0867)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64FE #E7FE64
analogous
#649AFE #7B64FE #C864FE
triadic
#7B64FE #FE7B64 #64FE7B
tetradic
#7B64FE #FE649A #E7FE64 #64FEC8
square
#7B64FE #FE649A #E7FE64 #64FEC8
split-complementary
#7B64FE #FEC864 #9AFE64
monochromatic
#2401E6 #4727FE #7B64FE #AFA1FE #E3DEFF

Accessibility & contrast

On white

4.12
#7B64FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7B64FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64FE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64FE#FFFFFF#000000##000000
##7B64FE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#4689A8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b64fe;
/* rgb */ color: rgb(123, 100, 254);
/* oklch */ color: oklch(61.0% 0.219 284.6);
Tailwind
colors: {
  custom: {
    50: '#ab91ff',
    500: '#7b64fe',
    950: '#000000',
  },
}
SCSS
$custom: #7b64fe;
$custom-light: #ab91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64fe",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 254
  },
  "hsl": {
    "h": 248.961,
    "s": 98.718,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60955,
    "c": 0.21913,
    "h": 284.6
  },
  "luminance": 0.20481
}

Semantic roles & 50–950 ramp

primary
#7B64FE
secondary
#EEF5C9
accent
#E600C3
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7B64FE

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

Preview Lab → · Contrast checker → · Palette generator →

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