#7B64CA#7B64CA

#7B64CA is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.4% C 0.152 H 291.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7B64CA
RGBrgb(123, 100, 202)
HSLhsl(254, 49%, 59%)
HSVhsv(254, 50%, 79%)
CMYKcmyk(39.1%, 50.5%, 0%, 20.8%)
CIE-LABlab(48.99, 33.15, -50.09)
CIE-LCHlch(48.99, 60.07, 303.50°)
OKLaboklab(57.38% 0.0551 -0.1419)
OKLCHoklch(57.38% 0.152 291.2)
XYZxyz(23.3833, 17.5889, 58.0287)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64CA #B3CA64
analogous
#6480CA #7B64CA #AE64CA
triadic
#7B64CA #CA7B64 #64CA7B
tetradic
#7B64CA #CA6480 #B3CA64 #64CAAE
square
#7B64CA #CA6480 #B3CA64 #64CAAE
split-complementary
#7B64CA #CAAE64 #80CA64
monochromatic
#422E86 #583DB3 #7B64CA #A292DA #C9BFE9

Accessibility & contrast

On white

4.65
#7B64CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#7B64CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B64CA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64CA#FFFFFF#000000##FFFFFF
##7B64CA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B76CE
Deuteranopia (green-blind)
#3E72C8
Tritanopia (blue-blind)
#66798E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7b64ca;
/* rgb */ color: rgb(123, 100, 202);
/* oklch */ color: oklch(57.4% 0.152 291.2);
Tailwind
colors: {
  custom: {
    50: '#a590db',
    500: '#7b64ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b64ca;
$custom-light: #a590db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64ca",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 253.529,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.15221,
    "h": 291.2
  },
  "luminance": 0.1759
}

Semantic roles & 50–950 ramp

primary
#7B64CA
secondary
#D0D9B1
accent
#D94FBA
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B64CA

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

Preview Lab → · Contrast checker → · Palette generator →

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