#912397#912397

#912397 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.194 H 325.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#912397
RGBrgb(145, 35, 151)
HSLhsl(297, 62%, 36%)
HSVhsv(297, 77%, 59%)
CMYKcmyk(4%, 76.8%, 0%, 40.8%)
CIE-LABlab(36.85, 58.60, -39.25)
CIE-LCHlch(36.85, 70.53, 326.19°)
OKLaboklab(48.13% 0.1605 -0.1092)
OKLCHoklch(48.13% 0.194 325.8)
XYZxyz(17.8636, 9.4574, 30.1567)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#912397 #299723
analogous
#572397 #912397 #972363
triadic
#912397 #979123 #239791
tetradic
#912397 #975723 #299723 #236397
square
#912397 #975723 #299723 #236397
split-complementary
#912397 #639723 #239757
monochromatic
#320C34 #611765 #912397 #C12FC9 #D35BD9

Accessibility & contrast

On white

7.26
#912397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#912397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #912397
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##912397#FFFFFF#000000##FFFFFF
##9123971.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#95385C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #912397;
/* rgb */ color: rgb(145, 35, 151);
/* oklch */ color: oklch(48.1% 0.194 325.8);
Tailwind
colors: {
  custom: {
    50: '#b56bb6',
    500: '#912397',
    950: '#000000',
  },
}
SCSS
$custom: #912397;
$custom-light: #b56bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#912397",
  "rgb": {
    "r": 145,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 296.897,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48125,
    "c": 0.19412,
    "h": 325.8
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#912397
secondary
#5DBE58
accent
#E5424B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #912397

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

Preview Lab → · Contrast checker → · Palette generator →

#912397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva