#7857DD#7857DD

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

Color values

HEX#7857DD
RGBrgb(120, 87, 221)
HSLhsl(255, 66%, 60%)
HSVhsv(255, 61%, 87%)
CMYKcmyk(45.7%, 60.6%, 0%, 13.3%)
CIE-LABlab(47.01, 45.31, -64.15)
CIE-LCHlch(47.01, 78.53, 305.23°)
OKLaboklab(56.24% 0.0668 -0.1833)
OKLCHoklch(56.24% 0.195 290)
XYZxyz(24.2014, 16.0290, 70.2113)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857DD #BCDD57
analogous
#5779DD #7857DD #BB57DD
triadic
#7857DD #DD7857 #57DD78
tetradic
#7857DD #DD5779 #BCDD57 #57DDBB
square
#7857DD #DD5779 #BCDD57 #57DDBB
split-complementary
#7857DD #DDBB57 #79DD57
monochromatic
#3E1F9A #522ACD #7857DD #A18AE7 #CABDF2

Accessibility & contrast

On white

4.99
#7857DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#7857DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857DD
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857DD#FFFFFF#000000##FFFFFF
##7857DD1.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)
#0072E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#597692
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7857dd;
/* rgb */ color: rgb(120, 87, 221);
/* oklch */ color: oklch(56.2% 0.195 290.0);
Tailwind
colors: {
  custom: {
    50: '#a688e8',
    500: '#7857dd',
    950: '#000000',
  },
}
SCSS
$custom: #7857dd;
$custom-light: #a688e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7857dd",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 254.776,
    "s": 66.337,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56239,
    "c": 0.19508,
    "h": 290
  },
  "luminance": 0.1603
}

Semantic roles & 50–950 ramp

primary
#7857DD
secondary
#D5E1AE
accent
#CE17A1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7857DD

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

Preview Lab → · Contrast checker → · Palette generator →

#7857DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva