#795199#795199

#795199 is a mid, moderate violet. Relative luminance 0.122; OKLCH L 50.9% C 0.118 H 308.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#795199
RGBrgb(121, 81, 153)
HSLhsl(273, 31%, 46%)
HSVhsv(273, 47%, 60%)
CMYKcmyk(20.9%, 47.1%, 0%, 40%)
CIE-LABlab(41.61, 31.03, -33.12)
CIE-LCHlch(41.61, 45.38, 313.14°)
OKLaboklab(50.94% 0.0732 -0.0923)
OKLCHoklch(50.94% 0.118 308.4)
XYZxyz(16.5762, 12.2499, 31.6220)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795199 #719951
analogous
#555199 #795199 #995195
triadic
#795199 #997951 #519979
tetradic
#795199 #995551 #719951 #519599
square
#795199 #995551 #719951 #519599
split-complementary
#795199 #959951 #519955
monochromatic
#3A2749 #593C71 #795199 #9773B5 #B59BCA

Accessibility & contrast

On white

6.09
#795199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#795199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795199
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795199#FFFFFF#000000##FFFFFF
##7951991.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#4A6397
Tritanopia (blue-blind)
#755D6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795199;
/* rgb */ color: rgb(121, 81, 153);
/* oklch */ color: oklch(50.9% 0.118 308.4);
Tailwind
colors: {
  custom: {
    50: '#a183b7',
    500: '#795199',
    950: '#000000',
  },
}
SCSS
$custom: #795199;
$custom-light: #a183b7;
$custom-dark: #000000;
JSON
{
  "hex": "#795199",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 273.333,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50936,
    "c": 0.11782,
    "h": 308.4
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#795199
secondary
#A1B78F
accent
#C7618E
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #795199

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

Preview Lab → · Contrast checker → · Palette generator →

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