#795299#795299

#795299 is a mid, moderate violet. Relative luminance 0.124; OKLCH L 51.1% C 0.116 H 308.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#795299
RGBrgb(121, 82, 153)
HSLhsl(273, 30%, 46%)
HSVhsv(273, 46%, 60%)
CMYKcmyk(20.9%, 46.4%, 0%, 40%)
CIE-LABlab(41.84, 30.44, -32.75)
CIE-LCHlch(41.84, 44.71, 312.91°)
OKLaboklab(51.11% 0.0717 -0.0913)
OKLCHoklch(51.11% 0.116 308.1)
XYZxyz(16.6511, 12.3996, 31.6470)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795299 #729952
analogous
#555299 #795299 #995295
triadic
#795299 #997952 #529979
tetradic
#795299 #995552 #729952 #529599
square
#795299 #995552 #729952 #529599
split-complementary
#795299 #959952 #529955
monochromatic
#3A2749 #593D71 #795299 #9774B4 #B59CCA

Accessibility & contrast

On white

6.03
#795299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#795299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795299
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795299#FFFFFF#000000##FFFFFF
##7952991.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41619C
Deuteranopia (green-blind)
#4B6397
Tritanopia (blue-blind)
#755D6E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #795299;
/* rgb */ color: rgb(121, 82, 153);
/* oklch */ color: oklch(51.1% 0.116 308.1);
Tailwind
colors: {
  custom: {
    50: '#a183b7',
    500: '#795299',
    950: '#000000',
  },
}
SCSS
$custom: #795299;
$custom-light: #a183b7;
$custom-dark: #000000;
JSON
{
  "hex": "#795299",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 272.958,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51111,
    "c": 0.11606,
    "h": 308.1
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#795299
secondary
#A1B790
accent
#C6618F
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795299

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

Preview Lab → · Contrast checker → · Palette generator →

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