#942597#942597

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

Color values

HEX#942597
RGBrgb(148, 37, 151)
HSLhsl(298, 61%, 37%)
HSVhsv(298, 75%, 59%)
CMYKcmyk(2%, 75.5%, 0%, 40.8%)
CIE-LABlab(37.58, 58.61, -38.05)
CIE-LCHlch(37.58, 69.88, 327.00°)
OKLaboklab(48.74% 0.1621 -0.1057)
OKLCHoklch(48.74% 0.193 326.9)
XYZxyz(18.4599, 9.8547, 30.2020)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942597 #289725
analogous
#5B2597 #942597 #972561
triadic
#942597 #979425 #259794
tetradic
#942597 #975B25 #289725 #256197
square
#942597 #975B25 #289725 #256197
split-complementary
#942597 #619725 #25975B
monochromatic
#340D35 #641966 #942597 #C431C8 #D55FD8

Accessibility & contrast

On white

7.07
#942597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#942597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##942597#FFFFFF#000000##FFFFFF
##9425971.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)
#044F9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#98385D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942597;
/* rgb */ color: rgb(148, 37, 151);
/* oklch */ color: oklch(48.7% 0.193 326.9);
Tailwind
colors: {
  custom: {
    50: '#b76cb6',
    500: '#942597',
    950: '#000000',
  },
}
SCSS
$custom: #942597;
$custom-light: #b76cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#942597",
  "rgb": {
    "r": 148,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 298.421,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.19347,
    "h": 326.9
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#942597
secondary
#5EBD5B
accent
#E44448
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942597

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

Preview Lab → · Contrast checker → · Palette generator →

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