#795293#795293

#795293 is a mid, moderate violet. Relative luminance 0.122; OKLCH L 50.8% C 0.108 H 310.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#795293
RGBrgb(121, 82, 147)
HSLhsl(276, 28%, 45%)
HSVhsv(276, 44%, 58%)
CMYKcmyk(17.7%, 44.2%, 0%, 42.4%)
CIE-LABlab(41.54, 29.01, -29.62)
CIE-LCHlch(41.54, 41.46, 314.41°)
OKLaboklab(50.79% 0.0707 -0.0822)
OKLCHoklch(50.79% 0.108 310.7)
XYZxyz(16.1680, 12.2064, 29.1024)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795293 #6C9352
analogous
#595293 #795293 #93528C
triadic
#795293 #937952 #529379
tetradic
#795293 #935952 #6C9352 #528C93
square
#795293 #935952 #6C9352 #528C93
split-complementary
#795293 #8C9352 #529359
monochromatic
#382644 #593C6C #795293 #9772B0 #B499C6

Accessibility & contrast

On white

6.10
#795293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#795293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795293
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795293#FFFFFF#000000##FFFFFF
##7952931.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446095
Deuteranopia (green-blind)
#4E6391
Tritanopia (blue-blind)
#765C6B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795293;
/* rgb */ color: rgb(121, 82, 147);
/* oklch */ color: oklch(50.8% 0.108 310.7);
Tailwind
colors: {
  custom: {
    50: '#a183b3',
    500: '#795293',
    950: '#000000',
  },
}
SCSS
$custom: #795293;
$custom-light: #a183b3;
$custom-dark: #000000;
JSON
{
  "hex": "#795293",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 147
  },
  "hsl": {
    "h": 276,
    "s": 28.384,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.10841,
    "h": 310.7
  },
  "luminance": 0.12206
}

Semantic roles & 50–950 ramp

primary
#795293
secondary
#9DB38E
accent
#C5638A
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795293

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

Preview Lab → · Contrast checker → · Palette generator →

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