#7B64DA#7B64DA

#7B64DA is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.4% C 0.173 H 288.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7B64DA
RGBrgb(123, 100, 218)
HSLhsl(252, 61%, 62%)
HSVhsv(252, 54%, 85%)
CMYKcmyk(43.6%, 54.1%, 0%, 14.5%)
CIE-LABlab(49.96, 37.65, -57.67)
CIE-LCHlch(49.96, 68.87, 303.14°)
OKLaboklab(58.41% 0.056 -0.1641)
OKLCHoklch(58.41% 0.173 288.8)
XYZxyz(25.3769, 18.3863, 68.5279)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B64DA #C3DA64
analogous
#6488DA #7B64DA #B664DA
triadic
#7B64DA #DA7B64 #64DA7B
tetradic
#7B64DA #DA6488 #C3DA64 #64DAB6
square
#7B64DA #DA6488 #C3DA64 #64DAB6
split-complementary
#7B64DA #DAB664 #88DA64
monochromatic
#3D269E #5133CE #7B64DA #A595E6 #CFC7F2

Accessibility & contrast

On white

4.49
#7B64DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#7B64DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B64DA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B64DA#FFFFFF#000000##000000
##7B64DA1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2779DE
Deuteranopia (green-blind)
#2974D7
Tritanopia (blue-blind)
#5F7D95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7b64da;
/* rgb */ color: rgb(123, 100, 218);
/* oklch */ color: oklch(58.4% 0.173 288.8);
Tailwind
colors: {
  custom: {
    50: '#a791e6',
    500: '#7b64da',
    950: '#000000',
  },
}
SCSS
$custom: #7b64da;
$custom-light: #a791e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b64da",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 251.695,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58412,
    "c": 0.17342,
    "h": 288.8
  },
  "luminance": 0.18387
}

Semantic roles & 50–950 ramp

primary
#7B64DA
secondary
#DAE2B7
accent
#C91CA7
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7B64DA

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

Preview Lab → · Contrast checker → · Palette generator →

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