#7858BB#7858BB

#7858BB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.1% C 0.150 H 295.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7858BB
RGBrgb(120, 88, 187)
HSLhsl(259, 42%, 54%)
HSVhsv(259, 53%, 73%)
CMYKcmyk(35.8%, 52.9%, 0%, 26.7%)
CIE-LABlab(45.03, 35.36, -47.79)
CIE-LCHlch(45.03, 59.44, 306.50°)
OKLaboklab(54.07% 0.0656 -0.1352)
OKLCHoklch(54.07% 0.15 295.9)
XYZxyz(20.2028, 14.5600, 48.7500)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858BB #9BBB58
analogous
#586ABB #7858BB #AA58BB
triadic
#7858BB #BB7858 #58BB78
tetradic
#7858BB #BB586A #9BBB58 #58BBAA
square
#7858BB #BB586A #9BBB58 #58BBAA
split-complementary
#7858BB #BBAA58 #6ABB58
monochromatic
#412C6C #5B3E98 #7858BB #9B83CD #BEAFDE

Accessibility & contrast

On white

5.37
#7858BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7858BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858BB
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858BB#FFFFFF#000000##FFFFFF
##7858BB1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306BBE
Deuteranopia (green-blind)
#3869B9
Tritanopia (blue-blind)
#686C81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7858bb;
/* rgb */ color: rgb(120, 88, 187);
/* oklch */ color: oklch(54.1% 0.150 295.9);
Tailwind
colors: {
  custom: {
    50: '#a288d0',
    500: '#7858bb',
    950: '#000000',
  },
}
SCSS
$custom: #7858bb;
$custom-light: #a288d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7858bb",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 259.394,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.1503,
    "h": 295.9
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#7858BB
secondary
#BFCDA2
accent
#D256AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7858BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7858BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva