#795095#795095

#795095 is a mid, moderate violet. Relative luminance 0.120; OKLCH L 50.5% C 0.115 H 310.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#795095
RGBrgb(121, 80, 149)
HSLhsl(276, 30%, 45%)
HSVhsv(276, 46%, 58%)
CMYKcmyk(18.8%, 46.3%, 0%, 41.6%)
CIE-LABlab(41.17, 30.66, -31.40)
CIE-LCHlch(41.17, 43.89, 314.31°)
OKLaboklab(50.54% 0.074 -0.0874)
OKLCHoklch(50.54% 0.115 310.3)
XYZxyz(16.1776, 11.9725, 29.8866)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795095 #6C9550
analogous
#565095 #795095 #95508F
triadic
#795095 #957950 #509579
tetradic
#795095 #955650 #6C9550 #508F95
square
#795095 #955650 #6C9550 #508F95
split-complementary
#795095 #8F9550 #509556
monochromatic
#382545 #593B6D #795095 #9770B2 #B498C8

Accessibility & contrast

On white

6.19
#795095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#795095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795095
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795095#FFFFFF#000000##FFFFFF
##7950951.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405F97
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#765B6B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #795095;
/* rgb */ color: rgb(121, 80, 149);
/* oklch */ color: oklch(50.5% 0.115 310.3);
Tailwind
colors: {
  custom: {
    50: '#a182b4',
    500: '#795095',
    950: '#000000',
  },
}
SCSS
$custom: #795095;
$custom-light: #a182b4;
$custom-dark: #000000;
JSON
{
  "hex": "#795095",
  "rgb": {
    "r": 121,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 275.652,
    "s": 30.131,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50541,
    "c": 0.11452,
    "h": 310.3
  },
  "luminance": 0.11972
}

Semantic roles & 50–950 ramp

primary
#795095
secondary
#9DB48C
accent
#C6618A
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #795095

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

Preview Lab → · Contrast checker → · Palette generator →

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