#8757CA#8757CA

#8757CA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.173 H 300.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8757CA
RGBrgb(135, 87, 202)
HSLhsl(265, 52%, 57%)
HSVhsv(265, 57%, 79%)
CMYKcmyk(33.2%, 56.9%, 0%, 20.8%)
CIE-LABlab(47.28, 43.54, -52.78)
CIE-LCHlch(47.28, 68.42, 309.52°)
OKLaboklab(56.39% 0.0869 -0.1494)
OKLCHoklch(56.39% 0.173 300.2)
XYZxyz(24.0580, 16.2314, 57.7312)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757CA #9ACA57
analogous
#5761CA #8757CA #C057CA
triadic
#8757CA #CA8757 #57CA87
tetradic
#8757CA #CA5761 #9ACA57 #57CAC0
square
#8757CA #CA5761 #9ACA57 #57CAC0
split-complementary
#8757CA #CAC057 #61CA57
monochromatic
#4C287F #6837AD #8757CA #A886D9 #C9B4E7

Accessibility & contrast

On white

4.95
#8757CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8757CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757CA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757CA#FFFFFF#000000##FFFFFF
##8757CA1.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CE
Deuteranopia (green-blind)
#366FC7
Tritanopia (blue-blind)
#796E88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8757ca;
/* rgb */ color: rgb(135, 87, 202);
/* oklch */ color: oklch(56.4% 0.173 300.2);
Tailwind
colors: {
  custom: {
    50: '#ae88db',
    500: '#8757ca',
    950: '#000000',
  },
}
SCSS
$custom: #8757ca;
$custom-light: #ae88db;
$custom-dark: #000000;
JSON
{
  "hex": "#8757ca",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 265.043,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.17283,
    "h": 300.2
  },
  "luminance": 0.16232
}

Semantic roles & 50–950 ramp

primary
#8757CA
secondary
#C2D6A7
accent
#DB4CA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8757CA

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

Preview Lab → · Contrast checker → · Palette generator →

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