#795192#795192

#795192 is a mid, moderate violet. Relative luminance 0.120; OKLCH L 50.6% C 0.109 H 311.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#795192
RGBrgb(121, 81, 146)
HSLhsl(277, 29%, 45%)
HSVhsv(277, 45%, 57%)
CMYKcmyk(17.1%, 44.5%, 0%, 42.7%)
CIE-LABlab(41.26, 29.37, -29.47)
CIE-LCHlch(41.26, 41.60, 314.91°)
OKLaboklab(50.56% 0.072 -0.0818)
OKLCHoklch(50.56% 0.109 311.4)
XYZxyz(16.0150, 12.0254, 28.6660)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795192 #6A9251
analogous
#595192 #795192 #92518B
triadic
#795192 #927951 #519279
tetradic
#795192 #925951 #6A9251 #518B92
square
#795192 #925951 #6A9251 #518B92
split-complementary
#795192 #8B9251 #519259
monochromatic
#382543 #583B6B #795192 #9770B0 #B498C6

Accessibility & contrast

On white

6.17
#795192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#795192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795192
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795192#FFFFFF#000000##FFFFFF
##7951921.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F94
Deuteranopia (green-blind)
#4E6290
Tritanopia (blue-blind)
#765B6A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795192;
/* rgb */ color: rgb(121, 81, 146);
/* oklch */ color: oklch(50.6% 0.109 311.4);
Tailwind
colors: {
  custom: {
    50: '#a183b2',
    500: '#795192',
    950: '#000000',
  },
}
SCSS
$custom: #795192;
$custom-light: #a183b2;
$custom-dark: #000000;
JSON
{
  "hex": "#795192",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 276.923,
    "s": 28.634,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.10895,
    "h": 311.4
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#795192
secondary
#9BB38C
accent
#C56389
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #795192

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

Preview Lab → · Contrast checker → · Palette generator →

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