#7857CD#7857CD

#7857CD is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.175 H 292.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7857CD
RGBrgb(120, 87, 205)
HSLhsl(257, 54%, 57%)
HSVhsv(257, 58%, 80%)
CMYKcmyk(41.5%, 57.6%, 0%, 19.6%)
CIE-LABlab(45.93, 40.85, -56.75)
CIE-LCHlch(45.93, 69.92, 305.75°)
OKLaboklab(55.1% 0.0673 -0.1615)
OKLCHoklch(55.1% 0.175 292.6)
XYZxyz(22.1704, 15.2166, 59.5148)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7857CD #ACCD57
analogous
#5771CD #7857CD #B357CD
triadic
#7857CD #CD7857 #57CD78
tetradic
#7857CD #CD5771 #ACCD57 #57CDB3
square
#7857CD #CD5771 #ACCD57 #57CDB3
split-complementary
#7857CD #CDB357 #71CD57
monochromatic
#412783 #5835B2 #7857CD #9E86DB #C4B5E9

Accessibility & contrast

On white

5.19
#7857CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7857CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7857CD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7857CD#FFFFFF#000000##FFFFFF
##7857CD1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6ED1
Deuteranopia (green-blind)
#1C6BCA
Tritanopia (blue-blind)
#61718A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7857cd;
/* rgb */ color: rgb(120, 87, 205);
/* oklch */ color: oklch(55.1% 0.175 292.6);
Tailwind
colors: {
  custom: {
    50: '#a487dd',
    500: '#7857cd',
    950: '#000000',
  },
}
SCSS
$custom: #7857cd;
$custom-light: #a487dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7857cd",
  "rgb": {
    "r": 120,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 256.78,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.55102,
    "c": 0.17501,
    "h": 292.6
  },
  "luminance": 0.15217
}

Semantic roles & 50–950 ramp

primary
#7857CD
secondary
#CAD8A8
accent
#DD4AB4
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7857CD

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

Preview Lab → · Contrast checker → · Palette generator →

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