#7C368B#7C368B

#7C368B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.3% C 0.149 H 320.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7C368B
RGBrgb(124, 54, 139)
HSLhsl(289, 44%, 38%)
HSVhsv(289, 61%, 55%)
CMYKcmyk(10.8%, 61.2%, 0%, 45.5%)
CIE-LABlab(35.57, 43.58, -34.14)
CIE-LCHlch(35.57, 55.36, 321.92°)
OKLaboklab(46.32% 0.1142 -0.0951)
OKLCHoklch(46.32% 0.149 320.2)
XYZxyz(14.2910, 8.7881, 25.3646)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C368B #458B36
analogous
#52368B #7C368B #8B366F
triadic
#7C368B #8B7C36 #368B7C
tetradic
#7C368B #8B5236 #458B36 #366F8B
square
#7C368B #8B5236 #458B36 #366F8B
split-complementary
#7C368B #6F8B36 #368B52
monochromatic
#2D1433 #55255F #7C368B #A347B7 #B973C9

Accessibility & contrast

On white

7.62
#7C368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7C368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C368B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C368B#FFFFFF#000000##FFFFFF
##7C368B1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#3D5689
Tritanopia (blue-blind)
#7D435B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c368b;
/* rgb */ color: rgb(124, 54, 139);
/* oklch */ color: oklch(46.3% 0.149 320.2);
Tailwind
colors: {
  custom: {
    50: '#a471ad',
    500: '#7c368b',
    950: '#000000',
  },
}
SCSS
$custom: #7c368b;
$custom-light: #a471ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c368b",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 289.412,
    "s": 44.041,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.14864,
    "h": 320.2
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#7C368B
secondary
#78B16C
accent
#D4546B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7C368B

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

Preview Lab → · Contrast checker → · Palette generator →

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