#7864DA#7864DA

#7864DA is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.2% C 0.174 H 287.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7864DA
RGBrgb(120, 100, 218)
HSLhsl(250, 61%, 62%)
HSVhsv(250, 54%, 85%)
CMYKcmyk(45%, 54.1%, 0%, 14.5%)
CIE-LABlab(49.70, 36.98, -58.10)
CIE-LCHlch(49.70, 68.87, 302.47°)
OKLaboklab(58.15% 0.0523 -0.1655)
OKLCHoklch(58.15% 0.174 287.5)
XYZxyz(24.9542, 18.1684, 68.5081)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7864DA #C6DA64
analogous
#648BDA #7864DA #B364DA
triadic
#7864DA #DA7864 #64DA78
tetradic
#7864DA #DA648B #C6DA64 #64DAB3
square
#7864DA #DA648B #C6DA64 #64DAB3
split-complementary
#7864DA #DAB364 #8BDA64
monochromatic
#3A269E #4D33CE #7864DA #A395E6 #CEC7F2

Accessibility & contrast

On white

4.53
#7864DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#7864DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7864DA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7864DA#FFFFFF#000000##000000
##7864DA1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2679DE
Deuteranopia (green-blind)
#2573D7
Tritanopia (blue-blind)
#597E95
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7864da;
/* rgb */ color: rgb(120, 100, 218);
/* oklch */ color: oklch(58.2% 0.174 287.5);
Tailwind
colors: {
  custom: {
    50: '#a590e6',
    500: '#7864da',
    950: '#000000',
  },
}
SCSS
$custom: #7864da;
$custom-light: #a590e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7864da",
  "rgb": {
    "r": 120,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 250.169,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.17356,
    "h": 287.5
  },
  "luminance": 0.18169
}

Semantic roles & 50–950 ramp

primary
#7864DA
secondary
#DBE2B7
accent
#C91CAC
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #7864DA

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

Preview Lab → · Contrast checker → · Palette generator →

#7864DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva