#7859BF#7859BF

#7859BF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.154 H 294.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7859BF
RGBrgb(120, 89, 191)
HSLhsl(258, 44%, 55%)
HSVhsv(258, 53%, 75%)
CMYKcmyk(37.2%, 53.4%, 0%, 25.1%)
CIE-LABlab(45.50, 35.85, -49.36)
CIE-LCHlch(45.50, 61.01, 305.99°)
OKLaboklab(54.5% 0.0646 -0.1398)
OKLCHoklch(54.5% 0.154 294.8)
XYZxyz(20.7196, 14.8990, 51.0643)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7859BF #A0BF59
analogous
#596DBF #7859BF #AB59BF
triadic
#7859BF #BF7859 #59BF78
tetradic
#7859BF #BF596D #A0BF59 #59BFAB
square
#7859BF #BF596D #A0BF59 #59BFAB
split-complementary
#7859BF #BFAB59 #6DBF59
monochromatic
#412C72 #5A3D9E #7859BF #9C85D0 #C0B1E1

Accessibility & contrast

On white

5.28
#7859BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7859BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7859BF
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7859BF#FFFFFF#000000##FFFFFF
##7859BF1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6DC2
Deuteranopia (green-blind)
#356ABD
Tritanopia (blue-blind)
#676E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7859bf;
/* rgb */ color: rgb(120, 89, 191);
/* oklch */ color: oklch(54.5% 0.154 294.8);
Tailwind
colors: {
  custom: {
    50: '#a389d3',
    500: '#7859bf',
    950: '#000000',
  },
}
SCSS
$custom: #7859bf;
$custom-light: #a389d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7859bf",
  "rgb": {
    "r": 120,
    "g": 89,
    "b": 191
  },
  "hsl": {
    "h": 258.235,
    "s": 44.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.54498,
    "c": 0.15402,
    "h": 294.8
  },
  "luminance": 0.14899
}

Semantic roles & 50–950 ramp

primary
#7859BF
secondary
#C2CFA4
accent
#D454AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7859BF

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

Preview Lab → · Contrast checker → · Palette generator →

#7859BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva