#7B64BF#7B64BF

#7B64BF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.7% C 0.137 H 293.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7B64BF
RGBrgb(123, 100, 191)
HSLhsl(255, 42%, 57%)
HSVhsv(255, 48%, 75%)
CMYKcmyk(35.6%, 47.6%, 0%, 25.1%)
CIE-LABlab(48.37, 30.13, -44.76)
CIE-LCHlch(48.37, 53.96, 303.95°)
OKLaboklab(56.71% 0.054 -0.1263)
OKLCHoklch(56.71% 0.137 293.2)
XYZxyz(22.1271, 17.0864, 51.4123)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64BF #A8BF64
analogous
#647BBF #7B64BF #A964BF
triadic
#7B64BF #BF7B64 #64BF7B
tetradic
#7B64BF #BF647B #A8BF64 #64BFA9
square
#7B64BF #BF647B #A8BF64 #64BFA9
split-complementary
#7B64BF #BFA964 #7BBF64
monochromatic
#433177 #5B43A3 #7B64BF #A08FD1 #C5BBE3

Accessibility & contrast

On white

4.75
#7B64BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7B64BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B64BF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64BF#FFFFFF#000000##FFFFFF
##7B64BF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4474C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#6B7688
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7b64bf;
/* rgb */ color: rgb(123, 100, 191);
/* oklch */ color: oklch(56.7% 0.137 293.2);
Tailwind
colors: {
  custom: {
    50: '#a490d3',
    500: '#7b64bf',
    950: '#000000',
  },
}
SCSS
$custom: #7b64bf;
$custom-light: #a490d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64bf",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 191
  },
  "hsl": {
    "h": 255.165,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5671,
    "c": 0.13732,
    "h": 293.2
  },
  "luminance": 0.17087
}

Semantic roles & 50–950 ramp

primary
#7B64BF
secondary
#C9D2AD
accent
#D156B2
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #7B64BF

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

Preview Lab → · Contrast checker → · Palette generator →

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