#7B368F#7B368F

#7B368F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.4% C 0.152 H 318.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#7B368F
RGBrgb(123, 54, 143)
HSLhsl(287, 45%, 39%)
HSVhsv(287, 62%, 56%)
CMYKcmyk(14%, 62.2%, 0%, 43.9%)
CIE-LABlab(35.66, 44.15, -36.46)
CIE-LCHlch(35.66, 57.26, 320.45°)
OKLaboklab(46.42% 0.1131 -0.1019)
OKLCHoklch(46.42% 0.152 318)
XYZxyz(14.4448, 8.8330, 26.9253)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B368F #4A8F36
analogous
#4E368F #7B368F #8F3676
triadic
#7B368F #8F7B36 #368F7B
tetradic
#7B368F #8F4E36 #4A8F36 #36768F
square
#7B368F #8F4E36 #4A8F36 #36768F
split-complementary
#7B368F #768F36 #368F4E
monochromatic
#2F1436 #552563 #7B368F #A048BA #B775CB

Accessibility & contrast

On white

7.59
#7B368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7B368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B368F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B368F#FFFFFF#000000##FFFFFF
##7B368F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#3A568D
Tritanopia (blue-blind)
#7B455D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b368f;
/* rgb */ color: rgb(123, 54, 143);
/* oklch */ color: oklch(46.4% 0.152 318.0);
Tailwind
colors: {
  custom: {
    50: '#a471b0',
    500: '#7b368f',
    950: '#000000',
  },
}
SCSS
$custom: #7b368f;
$custom-light: #a471b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b368f",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 286.517,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46424,
    "c": 0.15224,
    "h": 318
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#7B368F
secondary
#7DB36D
accent
#D55370
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #7B368F

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

Preview Lab → · Contrast checker → · Palette generator →

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