#942699#942699

#942699 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 326.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#942699
RGBrgb(148, 38, 153)
HSLhsl(297, 60%, 37%)
HSVhsv(297, 75%, 60%)
CMYKcmyk(3.3%, 75.2%, 0%, 40%)
CIE-LABlab(37.81, 58.62, -38.90)
CIE-LCHlch(37.81, 70.36, 326.44°)
OKLaboklab(48.95% 0.1611 -0.1081)
OKLCHoklch(48.95% 0.194 326.1)
XYZxyz(18.6553, 9.9833, 31.0752)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942699 #2B9926
analogous
#5A2699 #942699 #992665
triadic
#942699 #999426 #269994
tetradic
#942699 #995A26 #2B9926 #266599
square
#942699 #995A26 #2B9926 #266599
split-complementary
#942699 #659926 #26995A
monochromatic
#350E37 #651A68 #942699 #C332CA #D362D8

Accessibility & contrast

On white

7.01
#942699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#942699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #942699
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942699#FFFFFF#000000##FFFFFF
##9426991.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#415E96
Tritanopia (blue-blind)
#983A5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #942699;
/* rgb */ color: rgb(148, 38, 153);
/* oklch */ color: oklch(48.9% 0.194 326.1);
Tailwind
colors: {
  custom: {
    50: '#b76db7',
    500: '#942699',
    950: '#000000',
  },
}
SCSS
$custom: #942699;
$custom-light: #b76db7;
$custom-dark: #000000;
JSON
{
  "hex": "#942699",
  "rgb": {
    "r": 148,
    "g": 38,
    "b": 153
  },
  "hsl": {
    "h": 297.391,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48947,
    "c": 0.19402,
    "h": 326.1
  },
  "luminance": 0.09982
}

Semantic roles & 50–950 ramp

primary
#942699
secondary
#62BD5E
accent
#E3444B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #942699

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

Preview Lab → · Contrast checker → · Palette generator →

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