#942497#942497

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

Color values

HEX#942497
RGBrgb(148, 36, 151)
HSLhsl(298, 61%, 37%)
HSVhsv(298, 76%, 59%)
CMYKcmyk(2%, 76.2%, 0%, 40.8%)
CIE-LABlab(37.47, 58.93, -38.23)
CIE-LCHlch(37.47, 70.24, 327.02°)
OKLaboklab(48.66% 0.163 -0.1062)
OKLCHoklch(48.66% 0.195 326.9)
XYZxyz(18.4292, 9.7933, 30.1918)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942497 #279724
analogous
#5B2497 #942497 #972461
triadic
#942497 #979424 #249794
tetradic
#942497 #975B24 #279724 #246197
square
#942497 #975B24 #279724 #246197
split-complementary
#942497 #619724 #24975B
monochromatic
#330C34 #641866 #942497 #C430C8 #D55DD8

Accessibility & contrast

On white

7.10
#942497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#942497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942497
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942497#FFFFFF#000000##FFFFFF
##9424971.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F9A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#98385C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #942497;
/* rgb */ color: rgb(148, 36, 151);
/* oklch */ color: oklch(48.7% 0.195 326.9);
Tailwind
colors: {
  custom: {
    50: '#b76cb6',
    500: '#942497',
    950: '#000000',
  },
}
SCSS
$custom: #942497;
$custom-light: #b76cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#942497",
  "rgb": {
    "r": 148,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 298.435,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48664,
    "c": 0.1945,
    "h": 326.9
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#942497
secondary
#5CBD5A
accent
#E54347
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942497

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

Preview Lab → · Contrast checker → · Palette generator →

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