#7B64FC#7B64FC

#7B64FC is a mid, highly saturated blue. Relative luminance 0.204; OKLCH L 60.8% C 0.217 H 284.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7B64FC
RGBrgb(123, 100, 252)
HSLhsl(249, 96%, 69%)
HSVhsv(249, 60%, 99%)
CMYKcmyk(51.2%, 60.3%, 0%, 1.2%)
CIE-LABlab(52.23, 47.42, -73.07)
CIE-LCHlch(52.23, 87.11, 302.98°)
OKLaboklab(60.81% 0.0555 -0.2094)
OKLCHoklch(60.81% 0.217 284.9)
XYZxyz(30.2910, 20.3520, 94.4088)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64FC #E5FC64
analogous
#6499FC #7B64FC #C764FC
triadic
#7B64FC #FC7B64 #64FC7B
tetradic
#7B64FC #FC6499 #E5FC64 #64FCC7
square
#7B64FC #FC6499 #E5FC64 #64FCC7
split-complementary
#7B64FC #FCC764 #99FC64
monochromatic
#2604E1 #4828FB #7B64FC #AEA0FD #E1DCFE

Accessibility & contrast

On white

4.14
#7B64FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7B64FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64FC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64FC#FFFFFF#000000##000000
##7B64FC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#4888A7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7b64fc;
/* rgb */ color: rgb(123, 100, 252);
/* oklch */ color: oklch(60.8% 0.217 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab91fe',
    500: '#7b64fc',
    950: '#000000',
  },
}
SCSS
$custom: #7b64fc;
$custom-light: #ab91fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64fc",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 252
  },
  "hsl": {
    "h": 249.079,
    "s": 96.203,
    "l": 69.02
  },
  "oklch": {
    "l": 0.60807,
    "c": 0.21667,
    "h": 284.9
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B64FC

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

Preview Lab → · Contrast checker → · Palette generator →

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