#8757DF#8757DF

#8757DF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.198 H 295.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8757DF
RGBrgb(135, 87, 223)
HSLhsl(261, 68%, 61%)
HSVhsv(261, 61%, 87%)
CMYKcmyk(39.5%, 61%, 0%, 12.5%)
CIE-LABlab(48.63, 48.95, -62.59)
CIE-LCHlch(48.63, 79.46, 308.03°)
OKLaboklab(57.81% 0.0863 -0.1783)
OKLCHoklch(57.81% 0.198 295.8)
XYZxyz(26.7157, 17.2945, 71.7283)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757DF #AFDF57
analogous
#576BDF #8757DF #CB57DF
triadic
#8757DF #DF8757 #57DF87
tetradic
#8757DF #DF576B #AFDF57 #57DFCB
square
#8757DF #DF576B #AFDF57 #57DFCB
split-complementary
#8757DF #DFCB57 #6BDF57
monochromatic
#4B1E9E #6428D1 #8757DF #AC8AE9 #D0BEF3

Accessibility & contrast

On white

4.71
#8757DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8757DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757DF#FFFFFF#000000##FFFFFF
##8757DF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E3
Deuteranopia (green-blind)
#0972DC
Tritanopia (blue-blind)
#717593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8757df;
/* rgb */ color: rgb(135, 87, 223);
/* oklch */ color: oklch(57.8% 0.198 295.8);
Tailwind
colors: {
  custom: {
    50: '#b089ea',
    500: '#8757df',
    950: '#000000',
  },
}
SCSS
$custom: #8757df;
$custom-light: #b089ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8757df",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 261.176,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57808,
    "c": 0.19807,
    "h": 295.8
  },
  "luminance": 0.17295
}

Semantic roles & 50–950 ramp

primary
#8757DF
secondary
#D0E3AF
accent
#D0168E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8757DF

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

Preview Lab → · Contrast checker → · Palette generator →

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