#8957DF#8957DF

#8957DF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.198 H 296.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8957DF
RGBrgb(137, 87, 223)
HSLhsl(262, 68%, 61%)
HSVhsv(262, 61%, 87%)
CMYKcmyk(38.6%, 61%, 0%, 12.5%)
CIE-LABlab(48.84, 49.38, -62.25)
CIE-LCHlch(48.84, 79.45, 308.42°)
OKLaboklab(58.01% 0.089 -0.1772)
OKLCHoklch(58.01% 0.198 296.7)
XYZxyz(27.0406, 17.4620, 71.7436)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957DF #ADDF57
analogous
#5769DF #8957DF #CD57DF
triadic
#8957DF #DF8957 #57DF89
tetradic
#8957DF #DF5769 #ADDF57 #57DFCD
square
#8957DF #DF5769 #ADDF57 #57DFCD
split-complementary
#8957DF #DFCD57 #69DF57
monochromatic
#4D1E9E #6628D1 #8957DF #AD8AE9 #D1BEF3

Accessibility & contrast

On white

4.67
#8957DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8957DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957DF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957DF#FFFFFF#000000##FFFFFF
##8957DF1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1172DC
Tritanopia (blue-blind)
#747593
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8957df;
/* rgb */ color: rgb(137, 87, 223);
/* oklch */ color: oklch(58.0% 0.198 296.7);
Tailwind
colors: {
  custom: {
    50: '#b189ea',
    500: '#8957df',
    950: '#000000',
  },
}
SCSS
$custom: #8957df;
$custom-light: #b189ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8957df",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 262.059,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58007,
    "c": 0.19826,
    "h": 296.7
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8957DF

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

Preview Lab → · Contrast checker → · Palette generator →

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