#97268C#97268C

#97268C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.185 H 332.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#97268C
RGBrgb(151, 38, 140)
HSLhsl(306, 60%, 37%)
HSVhsv(306, 75%, 59%)
CMYKcmyk(0%, 74.8%, 7.3%, 40.8%)
CIE-LABlab(37.59, 57.14, -31.28)
CIE-LCHlch(37.59, 65.14, 331.30°)
OKLaboklab(48.65% 0.1643 -0.086)
OKLCHoklch(48.65% 0.185 332.4)
XYZxyz(18.1893, 9.8605, 25.7511)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97268C #269731
analogous
#6A2697 #97268C #972653
triadic
#97268C #8C9726 #268C97
tetradic
#97268C #976A26 #269731 #265397
square
#97268C #976A26 #269731 #265397
split-complementary
#97268C #539726 #26976A
monochromatic
#350D31 #661A5F #97268C #C832B9 #D760CC

Accessibility & contrast

On white

7.07
#97268C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#97268C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97268C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97268C#FFFFFF#000000##FFFFFF
##97268C1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4E8F
Deuteranopia (green-blind)
#4B5E89
Tritanopia (blue-blind)
#9E3257
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #97268c;
/* rgb */ color: rgb(151, 38, 140);
/* oklch */ color: oklch(48.6% 0.185 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96dae',
    500: '#97268c',
    950: '#000000',
  },
}
SCSS
$custom: #97268c;
$custom-light: #b96dae;
$custom-dark: #000000;
JSON
{
  "hex": "#97268c",
  "rgb": {
    "r": 151,
    "g": 38,
    "b": 140
  },
  "hsl": {
    "h": 305.841,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4865,
    "c": 0.18539,
    "h": 332.4
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#97268C
secondary
#5CBC66
accent
#E35445
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97268C

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

Preview Lab → · Contrast checker → · Palette generator →

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