#795183#795183

#795183 is a mid, moderate purple. Relative luminance 0.116; OKLCH L 49.8% C 0.090 H 319.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#795183
RGBrgb(121, 81, 131)
HSLhsl(288, 24%, 42%)
HSVhsv(288, 38%, 51%)
CMYKcmyk(7.6%, 38.2%, 0%, 48.6%)
CIE-LABlab(40.56, 25.97, -21.46)
CIE-LCHlch(40.56, 33.69, 320.43°)
OKLaboklab(49.8% 0.0687 -0.0588)
OKLCHoklch(49.8% 0.09 319.4)
XYZxyz(14.9238, 11.5889, 22.9191)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795183 #5B8351
analogous
#605183 #795183 #835174
triadic
#795183 #837951 #518379
tetradic
#795183 #836051 #5B8351 #517483
square
#795183 #836051 #5B8351 #517483
split-complementary
#795183 #748351 #518360
monochromatic
#332237 #563A5D #795183 #996DA5 #B492BC

Accessibility & contrast

On white

6.33
#795183 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#795183 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795183
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795183#FFFFFF#000000##FFFFFF
##7951831.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D85
Deuteranopia (green-blind)
#546181
Tritanopia (blue-blind)
#7A5764
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #795183;
/* rgb */ color: rgb(121, 81, 131);
/* oklch */ color: oklch(49.8% 0.090 319.4);
Tailwind
colors: {
  custom: {
    50: '#a082a7',
    500: '#795183',
    950: '#000000',
  },
}
SCSS
$custom: #795183;
$custom-light: #a082a7;
$custom-dark: #000000;
JSON
{
  "hex": "#795183",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 131
  },
  "hsl": {
    "h": 288,
    "s": 23.585,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49797,
    "c": 0.09046,
    "h": 319.4
  },
  "luminance": 0.11589
}

Semantic roles & 50–950 ramp

primary
#795183
secondary
#8EA987
accent
#C06879
background
#F9F8FA
surface
#F2EFF4
border
#CCCACE
text
#0F0A0F
muted
#7E7C7F

Preview Lab

Preview with #795183

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

Preview Lab → · Contrast checker → · Palette generator →

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