#7858DF#7858DF

#7858DF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.196 H 289.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7858DF
RGBrgb(120, 88, 223)
HSLhsl(254, 68%, 61%)
HSVhsv(254, 61%, 87%)
CMYKcmyk(46.2%, 60.5%, 0%, 12.5%)
CIE-LABlab(47.36, 45.31, -64.71)
CIE-LCHlch(47.36, 78.99, 305.00°)
OKLaboklab(56.54% 0.0656 -0.185)
OKLCHoklch(56.54% 0.196 289.5)
XYZxyz(24.5509, 16.2993, 71.6502)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7858DF #BFDF58
analogous
#587BDF #7858DF #BB58DF
triadic
#7858DF #DF7858 #58DF78
tetradic
#7858DF #DF587B #BFDF58 #58DFBB
square
#7858DF #DF587B #BFDF58 #58DFBB
split-complementary
#7858DF #DFBB58 #7BDF58
monochromatic
#3D1E9E #5028D2 #7858DF #A28BE9 #CBBFF3

Accessibility & contrast

On white

4.93
#7858DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7858DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7858DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7858DF#FFFFFF#000000##FFFFFF
##7858DF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#577793
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7858df;
/* rgb */ color: rgb(120, 88, 223);
/* oklch */ color: oklch(56.5% 0.196 289.5);
Tailwind
colors: {
  custom: {
    50: '#a688ea',
    500: '#7858df',
    950: '#000000',
  },
}
SCSS
$custom: #7858df;
$custom-light: #a688ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7858df",
  "rgb": {
    "r": 120,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 254.222,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.19625,
    "h": 289.5
  },
  "luminance": 0.163
}

Semantic roles & 50–950 ramp

primary
#7858DF
secondary
#D7E3B0
accent
#D016A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7858DF

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

Preview Lab → · Contrast checker → · Palette generator →

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