#7B64CD#7B64CD

#7B64CD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.6% C 0.156 H 290.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7B64CD
RGBrgb(123, 100, 205)
HSLhsl(253, 51%, 60%)
HSVhsv(253, 51%, 80%)
CMYKcmyk(40%, 51.2%, 0%, 19.6%)
CIE-LABlab(49.17, 33.99, -51.53)
CIE-LCHlch(49.17, 61.73, 303.41°)
OKLaboklab(57.57% 0.0553 -0.1461)
OKLCHoklch(57.57% 0.156 290.7)
XYZxyz(23.7420, 17.7324, 59.9175)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64CD #B6CD64
analogous
#6481CD #7B64CD #B064CD
triadic
#7B64CD #CD7B64 #64CD7B
tetradic
#7B64CD #CD6481 #B6CD64 #64CDB0
square
#7B64CD #CD6481 #B6CD64 #64CDB0
split-complementary
#7B64CD #CDB064 #81CD64
monochromatic
#412D8A #573BB8 #7B64CD #A292DC #CAC1EB

Accessibility & contrast

On white

4.62
#7B64CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7B64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7B64CD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64CD#FFFFFF#000000##FFFFFF
##7B64CD1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#3B73CB
Tritanopia (blue-blind)
#657A8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7b64cd;
/* rgb */ color: rgb(123, 100, 205);
/* oklch */ color: oklch(57.6% 0.156 290.7);
Tailwind
colors: {
  custom: {
    50: '#a590dd',
    500: '#7b64cd',
    950: '#000000',
  },
}
SCSS
$custom: #7b64cd;
$custom-light: #a590dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64cd",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 253.143,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57569,
    "c": 0.15624,
    "h": 290.7
  },
  "luminance": 0.17733
}

Semantic roles & 50–950 ramp

primary
#7B64CD
secondary
#D2DBB2
accent
#DB4DBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #7B64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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