#943097#943097

#943097 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.181 H 326.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#943097
RGBrgb(148, 48, 151)
HSLhsl(298, 52%, 39%)
HSVhsv(298, 68%, 59%)
CMYKcmyk(2%, 68.2%, 0%, 40.8%)
CIE-LABlab(38.98, 54.64, -35.84)
CIE-LCHlch(38.98, 65.34, 326.74°)
OKLaboklab(49.74% 0.1509 -0.0993)
OKLCHoklch(49.74% 0.181 326.7)
XYZxyz(18.8553, 10.6454, 30.3338)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#943097 #339730
analogous
#613097 #943097 #973067
triadic
#943097 #979430 #309794
tetradic
#943097 #976130 #339730 #306797
square
#943097 #976130 #339730 #306797
split-complementary
#943097 #679730 #309761
monochromatic
#39123A #662169 #943097 #BF41C3 #CF70D2

Accessibility & contrast

On white

6.71
#943097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#943097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #943097
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##943097#FFFFFF#000000##FFFFFF
##9430971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E549A
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#983F60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #943097;
/* rgb */ color: rgb(148, 48, 151);
/* oklch */ color: oklch(49.7% 0.181 326.7);
Tailwind
colors: {
  custom: {
    50: '#b771b6',
    500: '#943097',
    950: '#000000',
  },
}
SCSS
$custom: #943097;
$custom-light: #b771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#943097",
  "rgb": {
    "r": 148,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 298.252,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49744,
    "c": 0.18068,
    "h": 326.7
  },
  "luminance": 0.10644
}

Semantic roles & 50–950 ramp

primary
#943097
secondary
#6CB96A
accent
#DB4D51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #943097

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

Preview Lab → · Contrast checker → · Palette generator →

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