#7858DA#7858DA

#7858DA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.190 H 290.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7858DA
RGBrgb(120, 88, 218)
HSLhsl(255, 64%, 60%)
HSVhsv(255, 60%, 85%)
CMYKcmyk(45%, 59.6%, 0%, 14.5%)
CIE-LABlab(47.02, 43.90, -62.43)
CIE-LCHlch(47.02, 76.32, 305.12°)
OKLaboklab(56.18% 0.0658 -0.1782)
OKLCHoklch(56.18% 0.19 290.3)
XYZxyz(23.8868, 16.0336, 68.1523)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858DA #BADA58
analogous
#5879DA #7858DA #B958DA
triadic
#7858DA #DA7858 #58DA78
tetradic
#7858DA #DA5879 #BADA58 #58DAB9
square
#7858DA #DA5879 #BADA58 #58DAB9
split-complementary
#7858DA #DAB958 #79DA58
monochromatic
#3E2196 #532CC8 #7858DA #A08AE5 #C9BCF0

Accessibility & contrast

On white

4.99
#7858DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7858DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858DA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858DA#FFFFFF#000000##FFFFFF
##7858DA1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#006DD7
Tritanopia (blue-blind)
#5A7691
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7858da;
/* rgb */ color: rgb(120, 88, 218);
/* oklch */ color: oklch(56.2% 0.190 290.3);
Tailwind
colors: {
  custom: {
    50: '#a688e6',
    500: '#7858da',
    950: '#000000',
  },
}
SCSS
$custom: #7858da;
$custom-light: #a688e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7858da",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 254.769,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.56178,
    "c": 0.19002,
    "h": 290.3
  },
  "luminance": 0.16034
}

Semantic roles & 50–950 ramp

primary
#7858DA
secondary
#D4E0AE
accent
#E741BE
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7858DA

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

Preview Lab → · Contrast checker → · Palette generator →

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