#943098#943098

#943098 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.182 H 326.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#943098
RGBrgb(148, 48, 152)
HSLhsl(298, 52%, 39%)
HSVhsv(298, 68%, 60%)
CMYKcmyk(2.6%, 68.4%, 0%, 40.4%)
CIE-LABlab(39.03, 54.82, -36.35)
CIE-LCHlch(39.03, 65.78, 326.45°)
OKLaboklab(49.8% 0.151 -0.1008)
OKLCHoklch(49.8% 0.182 326.3)
XYZxyz(18.9368, 10.6780, 30.7633)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943098 #349830
analogous
#603098 #943098 #983068
triadic
#943098 #989430 #309894
tetradic
#943098 #986030 #349830 #306898
square
#943098 #986030 #349830 #306898
split-complementary
#943098 #689830 #309860
monochromatic
#39133B #672169 #943098 #BE42C3 #CE70D2

Accessibility & contrast

On white

6.70
#943098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#943098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943098
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943098#FFFFFF#000000##FFFFFF
##9430981.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#984060
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #943098;
/* rgb */ color: rgb(148, 48, 152);
/* oklch */ color: oklch(49.8% 0.182 326.3);
Tailwind
colors: {
  custom: {
    50: '#b771b7',
    500: '#943098',
    950: '#000000',
  },
}
SCSS
$custom: #943098;
$custom-light: #b771b7;
$custom-dark: #000000;
JSON
{
  "hex": "#943098",
  "rgb": {
    "r": 148,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 297.692,
    "s": 52,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49803,
    "c": 0.18153,
    "h": 326.3
  },
  "luminance": 0.10677
}

Semantic roles & 50–950 ramp

primary
#943098
secondary
#6DBA6A
accent
#DB4C52
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #943098

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

Preview Lab → · Contrast checker → · Palette generator →

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