#791895#791895

#791895 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.193 H 316.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#791895
RGBrgb(121, 24, 149)
HSLhsl(287, 72%, 34%)
HSVhsv(287, 84%, 58%)
CMYKcmyk(18.8%, 83.9%, 0%, 41.6%)
CIE-LABlab(31.55, 56.78, -46.75)
CIE-LCHlch(31.55, 73.55, 320.53°)
OKLaboklab(43.56% 0.1408 -0.1319)
OKLCHoklch(43.56% 0.193 316.9)
XYZxyz(13.6358, 6.8887, 29.0393)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791895 #349518
analogous
#3B1895 #791895 #951873
triadic
#791895 #957918 #189579
tetradic
#791895 #953B18 #349518 #187395
square
#791895 #953B18 #349518 #187395
split-complementary
#791895 #739518 #18953B
monochromatic
#23072C #4E1060 #791895 #A420CA #BE46E1

Accessibility & contrast

On white

8.83
#791895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#791895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791895
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791895#FFFFFF#000000##FFFFFF
##7918951.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#194D92
Tritanopia (blue-blind)
#773758
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791895;
/* rgb */ color: rgb(121, 24, 149);
/* oklch */ color: oklch(43.6% 0.193 316.9);
Tailwind
colors: {
  custom: {
    50: '#a463b5',
    500: '#791895',
    950: '#000000',
  },
}
SCSS
$custom: #791895;
$custom-light: #a463b5;
$custom-dark: #000000;
JSON
{
  "hex": "#791895",
  "rgb": {
    "r": 121,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 286.56,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43555,
    "c": 0.1929,
    "h": 316.9
  },
  "luminance": 0.06888
}

Semantic roles & 50–950 ramp

primary
#791895
secondary
#62C246
accent
#EF3962
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #791895

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

Preview Lab → · Contrast checker → · Palette generator →

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