#795295#795295

#795295 is a mid, moderate violet. Relative luminance 0.123; OKLCH L 50.9% C 0.111 H 309.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#795295
RGBrgb(121, 82, 149)
HSLhsl(275, 29%, 45%)
HSVhsv(275, 45%, 58%)
CMYKcmyk(18.8%, 45%, 0%, 41.6%)
CIE-LABlab(41.64, 29.49, -30.67)
CIE-LCHlch(41.64, 42.54, 313.88°)
OKLaboklab(50.89% 0.071 -0.0853)
OKLCHoklch(50.89% 0.111 309.8)
XYZxyz(16.3263, 12.2697, 29.9362)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795295 #6E9552
analogous
#575295 #795295 #95528F
triadic
#795295 #957952 #529579
tetradic
#795295 #955752 #6E9552 #528F95
square
#795295 #955752 #6E9552 #528F95
split-complementary
#795295 #8F9552 #529557
monochromatic
#392746 #593C6E #795295 #9773B2 #B49AC7

Accessibility & contrast

On white

6.08
#795295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795295
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795295#FFFFFF#000000##FFFFFF
##7952951.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#4D6393
Tritanopia (blue-blind)
#765C6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #795295;
/* rgb */ color: rgb(121, 82, 149);
/* oklch */ color: oklch(50.9% 0.111 309.8);
Tailwind
colors: {
  custom: {
    50: '#a183b4',
    500: '#795295',
    950: '#000000',
  },
}
SCSS
$custom: #795295;
$custom-light: #a183b4;
$custom-dark: #000000;
JSON
{
  "hex": "#795295",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 274.925,
    "s": 29.004,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.11096,
    "h": 309.8
  },
  "luminance": 0.12269
}

Semantic roles & 50–950 ramp

primary
#795295
secondary
#9EB48E
accent
#C5638C
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #795295

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

Preview Lab → · Contrast checker → · Palette generator →

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