#8657EB#8657EB

#8657EB is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.212 H 293.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8657EB
RGBrgb(134, 87, 235)
HSLhsl(259, 79%, 63%)
HSVhsv(259, 63%, 92%)
CMYKcmyk(43%, 63%, 0%, 7.8%)
CIE-LABlab(49.35, 51.91, -68.20)
CIE-LCHlch(49.35, 85.71, 307.28°)
OKLaboklab(58.57% 0.0842 -0.1948)
OKLCHoklch(58.57% 0.212 293.4)
XYZxyz(28.2310, 17.8821, 80.5453)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8657EB #BCEB57
analogous
#5772EB #8657EB #D057EB
triadic
#8657EB #EB8657 #57EB86
tetradic
#8657EB #EB5772 #BCEB57 #57EBD0
square
#8657EB #EB5772 #BCEB57 #57EBD0
split-complementary
#8657EB #EBD057 #72EB57
monochromatic
#4715B2 #5F20E4 #8657EB #AD8EF2 #D5C4F8

Accessibility & contrast

On white

4.59
#8657EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8657EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8657EB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8657EB#FFFFFF#000000##FFFFFF
##8657EB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#0073E8
Tritanopia (blue-blind)
#6A7999
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8657eb;
/* rgb */ color: rgb(134, 87, 235);
/* oklch */ color: oklch(58.6% 0.212 293.4);
Tailwind
colors: {
  custom: {
    50: '#b089f2',
    500: '#8657eb',
    950: '#000000',
  },
}
SCSS
$custom: #8657eb;
$custom-light: #b089f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8657eb",
  "rgb": {
    "r": 134,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 259.054,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.21219,
    "h": 293.4
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#8657EB
secondary
#D9E9B4
accent
#DB0A99
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8657EB

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

Preview Lab → · Contrast checker → · Palette generator →

#8657EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva