#7B64CC#7B64CC

#7B64CC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.5% C 0.155 H 290.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7B64CC
RGBrgb(123, 100, 204)
HSLhsl(253, 50%, 60%)
HSVhsv(253, 51%, 80%)
CMYKcmyk(39.7%, 51%, 0%, 20%)
CIE-LABlab(49.11, 33.71, -51.05)
CIE-LCHlch(49.11, 61.18, 303.44°)
OKLaboklab(57.51% 0.0553 -0.1447)
OKLCHoklch(57.51% 0.155 290.9)
XYZxyz(23.6217, 17.6843, 59.2839)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64CC #B5CC64
analogous
#6481CC #7B64CC #AF64CC
triadic
#7B64CC #CC7B64 #64CC7B
tetradic
#7B64CC #CC6481 #B5CC64 #64CCAF
square
#7B64CC #CC6481 #B5CC64 #64CCAF
split-complementary
#7B64CC #CCAF64 #81CC64
monochromatic
#412D89 #573CB7 #7B64CC #A292DB #C9C0EA

Accessibility & contrast

On white

4.63
#7B64CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7B64CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B64CC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64CC#FFFFFF#000000##FFFFFF
##7B64CC1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3976D0
Deuteranopia (green-blind)
#3C72CA
Tritanopia (blue-blind)
#65798E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b64cc;
/* rgb */ color: rgb(123, 100, 204);
/* oklch */ color: oklch(57.5% 0.155 290.9);
Tailwind
colors: {
  custom: {
    50: '#a590dc',
    500: '#7b64cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b64cc;
$custom-light: #a590dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64cc",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 253.269,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57506,
    "c": 0.15489,
    "h": 290.9
  },
  "luminance": 0.17685
}

Semantic roles & 50–950 ramp

primary
#7B64CC
secondary
#D1DAB2
accent
#DA4EBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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