#942697#942697

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

Color values

HEX#942697
RGBrgb(148, 38, 151)
HSLhsl(298, 60%, 37%)
HSVhsv(298, 75%, 59%)
CMYKcmyk(2%, 74.8%, 0%, 40.8%)
CIE-LABlab(37.69, 58.28, -37.87)
CIE-LCHlch(37.69, 69.50, 326.98°)
OKLaboklab(48.83% 0.1611 -0.1051)
OKLCHoklch(48.83% 0.192 326.9)
XYZxyz(18.4915, 9.9178, 30.2125)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942697 #299726
analogous
#5C2697 #942697 #972662
triadic
#942697 #979426 #269794
tetradic
#942697 #975C26 #299726 #266297
square
#942697 #975C26 #299726 #266297
split-complementary
#942697 #629726 #26975C
monochromatic
#340D35 #641A66 #942697 #C432C8 #D460D7

Accessibility & contrast

On white

7.04
#942697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#942697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942697
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942697#FFFFFF#000000##FFFFFF
##9426971.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#98395D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942697;
/* rgb */ color: rgb(148, 38, 151);
/* oklch */ color: oklch(48.8% 0.192 326.9);
Tailwind
colors: {
  custom: {
    50: '#b76db6',
    500: '#942697',
    950: '#000000',
  },
}
SCSS
$custom: #942697;
$custom-light: #b76db6;
$custom-dark: #000000;
JSON
{
  "hex": "#942697",
  "rgb": {
    "r": 148,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 298.407,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48825,
    "c": 0.19241,
    "h": 326.9
  },
  "luminance": 0.09916
}

Semantic roles & 50–950 ramp

primary
#942697
secondary
#5FBC5C
accent
#E34549
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942697

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

Preview Lab → · Contrast checker → · Palette generator →

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