#7A1895#7A1895

#7A1895 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.193 H 317.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#7A1895
RGBrgb(122, 24, 149)
HSLhsl(287, 72%, 34%)
HSVhsv(287, 84%, 58%)
CMYKcmyk(18.1%, 83.9%, 0%, 41.6%)
CIE-LABlab(31.72, 56.96, -46.47)
CIE-LCHlch(31.72, 73.52, 320.79°)
OKLaboklab(43.7% 0.1421 -0.131)
OKLCHoklch(43.7% 0.193 317.3)
XYZxyz(13.7767, 6.9614, 29.0459)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1895 #339518
analogous
#3C1895 #7A1895 #951872
triadic
#7A1895 #957A18 #18957A
tetradic
#7A1895 #953C18 #339518 #187295
square
#7A1895 #953C18 #339518 #187295
split-complementary
#7A1895 #729518 #18953C
monochromatic
#24072C #4F1060 #7A1895 #A520CA #C046E1

Accessibility & contrast

On white

8.78
#7A1895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7A1895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1895
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1895#FFFFFF#000000##FFFFFF
##7A18951.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#1B4D92
Tritanopia (blue-blind)
#793758
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a1895;
/* rgb */ color: rgb(122, 24, 149);
/* oklch */ color: oklch(43.7% 0.193 317.3);
Tailwind
colors: {
  custom: {
    50: '#a564b5',
    500: '#7a1895',
    950: '#000000',
  },
}
SCSS
$custom: #7a1895;
$custom-light: #a564b5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1895",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 287.04,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43704,
    "c": 0.19325,
    "h": 317.3
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#7A1895
secondary
#61C246
accent
#EF3960
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A1895

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

Preview Lab → · Contrast checker → · Palette generator →

#7A1895 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva