#7857DE#7857DE

#7857DE is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.196 H 289.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7857DE
RGBrgb(120, 87, 222)
HSLhsl(255, 67%, 61%)
HSVhsv(255, 61%, 87%)
CMYKcmyk(45.9%, 60.8%, 0%, 12.9%)
CIE-LABlab(47.08, 45.59, -64.60)
CIE-LCHlch(47.08, 79.06, 305.21°)
OKLaboklab(56.31% 0.0667 -0.1846)
OKLCHoklch(56.31% 0.196 289.9)
XYZxyz(24.3350, 16.0825, 70.9151)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857DE #BDDE57
analogous
#5779DE #7857DE #BC57DE
triadic
#7857DE #DE7857 #57DE78
tetradic
#7857DE #DE5779 #BDDE57 #57DEBC
square
#7857DE #DE5779 #BDDE57 #57DEBC
split-complementary
#7857DE #DEBC57 #79DE57
monochromatic
#3D1F9C #5129CF #7857DE #A18AE8 #CABDF2

Accessibility & contrast

On white

4.98
#7857DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#7857DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857DE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857DE#FFFFFF#000000##FFFFFF
##7857DE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#587692
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7857de;
/* rgb */ color: rgb(120, 87, 222);
/* oklch */ color: oklch(56.3% 0.196 289.9);
Tailwind
colors: {
  custom: {
    50: '#a688e9',
    500: '#7857de',
    950: '#000000',
  },
}
SCSS
$custom: #7857de;
$custom-light: #a688e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7857de",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 254.667,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.19631,
    "h": 289.9
  },
  "luminance": 0.16083
}

Semantic roles & 50–950 ramp

primary
#7857DE
secondary
#D6E2AF
accent
#CF16A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7857DE

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

Preview Lab → · Contrast checker → · Palette generator →

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