#7B64DB#7B64DB

#7B64DB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.175 H 288.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7B64DB
RGBrgb(123, 100, 219)
HSLhsl(252, 62%, 63%)
HSVhsv(252, 54%, 86%)
CMYKcmyk(43.8%, 54.3%, 0%, 14.1%)
CIE-LABlab(50.02, 37.93, -58.14)
CIE-LCHlch(50.02, 69.41, 303.12°)
OKLaboklab(58.48% 0.056 -0.1655)
OKLCHoklch(58.48% 0.175 288.7)
XYZxyz(25.5081, 18.4388, 69.2191)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64DB #C4DB64
analogous
#6488DB #7B64DB #B764DB
triadic
#7B64DB #DB7B64 #64DB7B
tetradic
#7B64DB #DB6488 #C4DB64 #64DBB7
square
#7B64DB #DB6488 #C4DB64 #64DBB7
split-complementary
#7B64DB #DBB764 #88DB64
monochromatic
#3D25A0 #5132CF #7B64DB #A596E7 #D0C7F2

Accessibility & contrast

On white

4.48
#7B64DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#7B64DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64DB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64DB#FFFFFF#000000##000000
##7B64DB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#267ADF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#5E7E96
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b64db;
/* rgb */ color: rgb(123, 100, 219);
/* oklch */ color: oklch(58.5% 0.175 288.7);
Tailwind
colors: {
  custom: {
    50: '#a791e7',
    500: '#7b64db',
    950: '#000000',
  },
}
SCSS
$custom: #7b64db;
$custom-light: #a791e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64db",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 219
  },
  "hsl": {
    "h": 251.597,
    "s": 62.304,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58479,
    "c": 0.17473,
    "h": 288.7
  },
  "luminance": 0.1844
}

Semantic roles & 50–950 ramp

primary
#7B64DB
secondary
#DBE3B8
accent
#CA1BA8
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B64DB

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

Preview Lab → · Contrast checker → · Palette generator →

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