#7B64CF#7B64CF

#7B64CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.159 H 290.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#7B64CF
RGBrgb(123, 100, 207)
HSLhsl(253, 53%, 60%)
HSVhsv(253, 52%, 81%)
CMYKcmyk(40.6%, 51.7%, 0%, 18.8%)
CIE-LABlab(49.29, 34.55, -52.48)
CIE-LCHlch(49.29, 62.83, 303.35°)
OKLaboklab(57.7% 0.0555 -0.1489)
OKLCHoklch(57.7% 0.159 290.4)
XYZxyz(23.9849, 17.8296, 61.1971)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64CF #B8CF64
analogous
#6483CF #7B64CF #B064CF
triadic
#7B64CF #CF7B64 #64CF7B
tetradic
#7B64CF #CF6483 #B8CF64 #64CFB0
square
#7B64CF #CF6483 #B8CF64 #64CFB0
split-complementary
#7B64CF #CFB064 #83CF64
monochromatic
#412C8D #563ABC #7B64CF #A393DD #CBC1EC

Accessibility & contrast

On white

4.60
#7B64CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#7B64CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B64CF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64CF#FFFFFF#000000##FFFFFF
##7B64CF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3677D3
Deuteranopia (green-blind)
#3873CD
Tritanopia (blue-blind)
#647A90
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b64cf;
/* rgb */ color: rgb(123, 100, 207);
/* oklch */ color: oklch(57.7% 0.159 290.4);
Tailwind
colors: {
  custom: {
    50: '#a690de',
    500: '#7b64cf',
    950: '#000000',
  },
}
SCSS
$custom: #7b64cf;
$custom-light: #a690de;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64cf",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 207
  },
  "hsl": {
    "h": 252.897,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.15889,
    "h": 290.4
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#7B64CF
secondary
#D3DCB3
accent
#C0259F
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B64CF

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

Preview Lab → · Contrast checker → · Palette generator →

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