#8B2695#8B2695

#8B2695 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.187 H 324.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#8B2695
RGBrgb(139, 38, 149)
HSLhsl(295, 59%, 37%)
HSVhsv(295, 74%, 58%)
CMYKcmyk(6.7%, 74.5%, 0%, 41.6%)
CIE-LABlab(36.07, 55.96, -39.33)
CIE-LCHlch(36.07, 68.39, 324.90°)
OKLaboklab(47.34% 0.1509 -0.1096)
OKLCHoklch(47.34% 0.187 324)
XYZxyz(16.7649, 9.0462, 29.2910)
Luminance0.0905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2695 #309526
analogous
#542695 #8B2695 #952668
triadic
#8B2695 #958B26 #26958B
tetradic
#8B2695 #955426 #309526 #266895
square
#8B2695 #955426 #309526 #266895
split-complementary
#8B2695 #689526 #269554
monochromatic
#300D33 #5E1A64 #8B2695 #B832C6 #CC5FD6

Accessibility & contrast

On white

7.48
#8B2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8B2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2695
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2695#FFFFFF#000000##FFFFFF
##8B26951.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#3A5992
Tritanopia (blue-blind)
#8E3A5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b2695;
/* rgb */ color: rgb(139, 38, 149);
/* oklch */ color: oklch(47.3% 0.187 324.0);
Tailwind
colors: {
  custom: {
    50: '#b06bb5',
    500: '#8b2695',
    950: '#000000',
  },
}
SCSS
$custom: #8b2695;
$custom-light: #b06bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2695",
  "rgb": {
    "r": 139,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 294.595,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.18656,
    "h": 324
  },
  "luminance": 0.09045
}

Semantic roles & 50–950 ramp

primary
#8B2695
secondary
#64BB5B
accent
#E34553
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8B2695

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

Preview Lab → · Contrast checker → · Palette generator →

#8B2695 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva