#9315B4#9315B4

#9315B4 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.5% C 0.229 H 317.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9315B4
RGBrgb(147, 21, 180)
HSLhsl(288, 79%, 39%)
HSVhsv(288, 88%, 71%)
CMYKcmyk(18.3%, 88.3%, 0%, 29.4%)
CIE-LABlab(37.91, 67.68, -54.95)
CIE-LCHlch(37.91, 87.18, 320.93°)
OKLaboklab(49.55% 0.1682 -0.1551)
OKLCHoklch(49.55% 0.229 317.3)
XYZxyz(20.5378, 10.0356, 44.0264)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9315B4 #36B415
analogous
#4415B4 #9315B4 #B41586
triadic
#9315B4 #B49315 #15B493
tetradic
#9315B4 #B44415 #36B415 #1586B4
square
#9315B4 #B44415 #36B415 #1586B4
split-complementary
#9315B4 #86B415 #15B444
monochromatic
#390846 #660F7D #9315B4 #BC21E5 #CD58EC

Accessibility & contrast

On white

6.98
#9315B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9315B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9315B4
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9315B4#FFFFFF#000000##FFFFFF
##9315B41.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#195DB1
Tritanopia (blue-blind)
#91406A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9315b4;
/* rgb */ color: rgb(147, 21, 180);
/* oklch */ color: oklch(49.5% 0.229 317.3);
Tailwind
colors: {
  custom: {
    50: '#b868cb',
    500: '#9315b4',
    950: '#000000',
  },
}
SCSS
$custom: #9315b4;
$custom-light: #b868cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9315b4",
  "rgb": {
    "r": 147,
    "g": 21,
    "b": 180
  },
  "hsl": {
    "h": 287.547,
    "s": 79.104,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.22879,
    "h": 317.3
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#9315B4
secondary
#6FCF56
accent
#F6325B
background
#FBF6FC
surface
#F7ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #9315B4

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

Preview Lab → · Contrast checker → · Palette generator →

#9315B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva