#7B64EA#7B64EA

#7B64EA is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.5% C 0.194 H 286.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7B64EA
RGBrgb(123, 100, 234)
HSLhsl(250, 76%, 65%)
HSVhsv(250, 57%, 92%)
CMYKcmyk(47.4%, 57.3%, 0%, 8.2%)
CIE-LABlab(51.00, 42.22, -65.03)
CIE-LCHlch(51.00, 77.53, 302.99°)
OKLaboklab(59.51% 0.0562 -0.1858)
OKLCHoklch(59.51% 0.194 286.8)
XYZxyz(27.5725, 19.2646, 80.0916)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64EA #D3EA64
analogous
#6490EA #7B64EA #BE64EA
triadic
#7B64EA #EA7B64 #64EA7B
tetradic
#7B64EA #EA6490 #D3EA64 #64EABE
square
#7B64EA #EA6490 #D3EA64 #64EABE
split-complementary
#7B64EA #EABE64 #90EA64
monochromatic
#3519BA #4D2EE3 #7B64EA #A99AF1 #D7D0F9

Accessibility & contrast

On white

4.33
#7B64EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#7B64EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64EA#FFFFFF#000000##000000
##7B64EA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#55829D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7b64ea;
/* rgb */ color: rgb(123, 100, 234);
/* oklch */ color: oklch(59.5% 0.194 286.8);
Tailwind
colors: {
  custom: {
    50: '#a891f2',
    500: '#7b64ea',
    950: '#000000',
  },
}
SCSS
$custom: #7b64ea;
$custom-light: #a891f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64ea",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 234
  },
  "hsl": {
    "h": 250.299,
    "s": 76.136,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.19408,
    "h": 286.8
  },
  "luminance": 0.19266
}

Semantic roles & 50–950 ramp

primary
#7B64EA
secondary
#E4EBBE
accent
#D80DB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100D17
muted
#7F7D85

Preview Lab

Preview with #7B64EA

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

Preview Lab → · Contrast checker → · Palette generator →

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