#8757F2#8757F2

#8757F2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.220 H 292.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8757F2
RGBrgb(135, 87, 242)
HSLhsl(259, 86%, 65%)
HSVhsv(259, 64%, 95%)
CMYKcmyk(44.2%, 64%, 0%, 5.1%)
CIE-LABlab(49.95, 53.96, -71.16)
CIE-LCHlch(49.95, 89.30, 307.18°)
OKLaboklab(59.18% 0.0848 -0.2034)
OKLCHoklch(59.18% 0.22 292.6)
XYZxyz(29.4225, 18.3772, 85.9841)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757F2 #C2F257
analogous
#5775F2 #8757F2 #D557F2
triadic
#8757F2 #F28757 #57F287
tetradic
#8757F2 #F25775 #C2F257 #57F2D5
square
#8757F2 #F25775 #C2F257 #57F2D5
split-complementary
#8757F2 #F2D557 #75F257
monochromatic
#460FC0 #5E1EEE #8757F2 #B090F6 #D8C9FB

Accessibility & contrast

On white

4.49
#8757F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#8757F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8757F2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757F2#FFFFFF#000000##000000
##8757F21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#687C9D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8757f2;
/* rgb */ color: rgb(135, 87, 242);
/* oklch */ color: oklch(59.2% 0.220 292.6);
Tailwind
colors: {
  custom: {
    50: '#b189f7',
    500: '#8757f2',
    950: '#000000',
  },
}
SCSS
$custom: #8757f2;
$custom-light: #b189f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8757f2",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 258.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59184,
    "c": 0.2204,
    "h": 292.6
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#8757F2
secondary
#DDEDB8
accent
#E2039D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8757F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8757F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva