#95308C#95308C

#95308C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.3% C 0.172 H 331.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#95308C
RGBrgb(149, 48, 140)
HSLhsl(305, 51%, 39%)
HSVhsv(305, 68%, 58%)
CMYKcmyk(0%, 67.8%, 6%, 41.6%)
CIE-LABlab(38.55, 52.99, -29.80)
CIE-LCHlch(38.55, 60.80, 330.65°)
OKLaboklab(49.28% 0.1515 -0.0818)
OKLCHoklch(49.28% 0.172 331.6)
XYZxyz(18.1850, 10.3983, 25.8551)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95308C #309539
analogous
#6B3095 #95308C #953059
triadic
#95308C #8C9530 #308C95
tetradic
#95308C #956B30 #309539 #305995
square
#95308C #956B30 #309539 #305995
split-complementary
#95308C #599530 #30956B
monochromatic
#381235 #672161 #95308C #C241B6 #D16FC8

Accessibility & contrast

On white

6.82
#95308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#95308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #95308C
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95308C#FFFFFF#000000##FFFFFF
##95308C1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A528F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#9B3A5A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #95308c;
/* rgb */ color: rgb(149, 48, 140);
/* oklch */ color: oklch(49.3% 0.172 331.6);
Tailwind
colors: {
  custom: {
    50: '#b771ae',
    500: '#95308c',
    950: '#000000',
  },
}
SCSS
$custom: #95308c;
$custom-light: #b771ae;
$custom-dark: #000000;
JSON
{
  "hex": "#95308c",
  "rgb": {
    "r": 149,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 305.347,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49275,
    "c": 0.17215,
    "h": 331.6
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#95308C
secondary
#69B870
accent
#DB5A4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #95308C

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

Preview Lab → · Contrast checker → · Palette generator →

#95308C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva