#7B64EB#7B64EB

#7B64EB is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.6% C 0.195 H 286.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7B64EB
RGBrgb(123, 100, 235)
HSLhsl(250, 77%, 66%)
HSVhsv(250, 57%, 92%)
CMYKcmyk(47.7%, 57.4%, 0%, 7.8%)
CIE-LABlab(51.06, 42.51, -65.48)
CIE-LCHlch(51.06, 78.07, 302.99°)
OKLaboklab(59.58% 0.0561 -0.1871)
OKLCHoklch(59.58% 0.195 286.7)
XYZxyz(27.7166, 19.3222, 80.8503)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64EB #D4EB64
analogous
#6490EB #7B64EB #BE64EB
triadic
#7B64EB #EB7B64 #64EB7B
tetradic
#7B64EB #EB6490 #D4EB64 #64EBBE
square
#7B64EB #EB6490 #D4EB64 #64EBBE
split-complementary
#7B64EB #EBBE64 #90EB64
monochromatic
#3418BC #4D2EE4 #7B64EB #A99AF2 #D7D0F9

Accessibility & contrast

On white

4.32
#7B64EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#7B64EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64EB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64EB#FFFFFF#000000##000000
##7B64EB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#55839E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7b64eb;
/* rgb */ color: rgb(123, 100, 235);
/* oklch */ color: oklch(59.6% 0.195 286.7);
Tailwind
colors: {
  custom: {
    50: '#a991f2',
    500: '#7b64eb',
    950: '#000000',
  },
}
SCSS
$custom: #7b64eb;
$custom-light: #a991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64eb",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 250.222,
    "s": 77.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59577,
    "c": 0.19535,
    "h": 286.7
  },
  "luminance": 0.19323
}

Semantic roles & 50–950 ramp

primary
#7B64EB
secondary
#E4ECBF
accent
#D90CB6
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #7B64EB

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

Preview Lab → · Contrast checker → · Palette generator →

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