#7B64FA#7B64FA

#7B64FA is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.7% C 0.214 H 285.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7B64FA
RGBrgb(123, 100, 250)
HSLhsl(249, 94%, 69%)
HSVhsv(249, 60%, 98%)
CMYKcmyk(50.8%, 60%, 0%, 2%)
CIE-LABlab(52.09, 46.84, -72.19)
CIE-LCHlch(52.09, 86.05, 302.98°)
OKLaboklab(60.66% 0.0556 -0.2068)
OKLCHoklch(60.66% 0.214 285.1)
XYZxyz(29.9757, 20.2259, 92.7484)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64FA #E3FA64
analogous
#6498FA #7B64FA #C664FA
triadic
#7B64FA #FA7B64 #64FA7B
tetradic
#7B64FA #FA6498 #E3FA64 #64FAC6
square
#7B64FA #FA6498 #E3FA64 #64FAC6
split-complementary
#7B64FA #FAC664 #98FA64
monochromatic
#2807DC #4929F8 #7B64FA #AD9FFC #E0DBFE

Accessibility & contrast

On white

4.16
#7B64FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7B64FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64FA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64FA#FFFFFF#000000##000000
##7B64FA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#0078F7
Tritanopia (blue-blind)
#4A87A6
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7b64fa;
/* rgb */ color: rgb(123, 100, 250);
/* oklch */ color: oklch(60.7% 0.214 285.1);
Tailwind
colors: {
  custom: {
    50: '#aa91fd',
    500: '#7b64fa',
    950: '#000000',
  },
}
SCSS
$custom: #7b64fa;
$custom-light: #aa91fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64fa",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 250
  },
  "hsl": {
    "h": 249.2,
    "s": 93.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.21419,
    "h": 285.1
  },
  "luminance": 0.20227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B64FA

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

Preview Lab → · Contrast checker → · Palette generator →

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