#793095#793095

#793095 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.166 H 315.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#793095
RGBrgb(121, 48, 149)
HSLhsl(283, 51%, 39%)
HSVhsv(283, 68%, 58%)
CMYKcmyk(18.8%, 67.8%, 0%, 41.6%)
CIE-LABlab(34.70, 47.81, -41.68)
CIE-LCHlch(34.70, 63.43, 318.91°)
OKLaboklab(45.79% 0.1179 -0.1172)
OKLCHoklch(45.79% 0.166 315.2)
XYZxyz(14.3661, 8.3493, 29.2828)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793095 #4C9530
analogous
#463095 #793095 #95307E
triadic
#793095 #957930 #309579
tetradic
#793095 #954630 #4C9530 #307E95
square
#793095 #954630 #4C9530 #307E95
split-complementary
#793095 #7E9530 #309546
monochromatic
#2E1238 #532167 #793095 #9E41C2 #B56FD1

Accessibility & contrast

On white

7.87
#793095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#793095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793095
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793095#FFFFFF#000000##FFFFFF
##7930951.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#2E5493
Tritanopia (blue-blind)
#77435E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #793095;
/* rgb */ color: rgb(121, 48, 149);
/* oklch */ color: oklch(45.8% 0.166 315.2);
Tailwind
colors: {
  custom: {
    50: '#a36eb5',
    500: '#793095',
    950: '#000000',
  },
}
SCSS
$custom: #793095;
$custom-light: #a36eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#793095",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 283.366,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45789,
    "c": 0.16621,
    "h": 315.2
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#793095
secondary
#7FB869
accent
#DB4D74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #793095

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

Preview Lab → · Contrast checker → · Palette generator →

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