#7B5693#7B5693

#7B5693 is a mid, moderate violet. Relative luminance 0.130; OKLCH L 51.7% C 0.102 H 311.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7B5693
RGBrgb(123, 86, 147)
HSLhsl(276, 26%, 46%)
HSVhsv(276, 41%, 58%)
CMYKcmyk(16.3%, 41.5%, 0%, 42.4%)
CIE-LABlab(42.72, 27.27, -27.76)
CIE-LCHlch(42.72, 38.91, 314.50°)
OKLaboklab(51.73% 0.0671 -0.0768)
OKLCHoklch(51.73% 0.102 311.1)
XYZxyz(16.7617, 12.9734, 29.2192)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B5693 #6E9356
analogous
#5C5693 #7B5693 #93568C
triadic
#7B5693 #937B56 #56937B
tetradic
#7B5693 #935C56 #6E9356 #568C93
square
#7B5693 #935C56 #6E9356 #568C93
split-complementary
#7B5693 #8C9356 #56935C
monochromatic
#3A2946 #5B3F6C #7B5693 #9977AF #B69DC6

Accessibility & contrast

On white

5.84
#7B5693 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7B5693 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B5693
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B5693#FFFFFF#000000##FFFFFF
##7B56931.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6395
Deuteranopia (green-blind)
#536691
Tritanopia (blue-blind)
#785F6D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7b5693;
/* rgb */ color: rgb(123, 86, 147);
/* oklch */ color: oklch(51.7% 0.102 311.1);
Tailwind
colors: {
  custom: {
    50: '#a286b3',
    500: '#7b5693',
    950: '#000000',
  },
}
SCSS
$custom: #7b5693;
$custom-light: #a286b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b5693",
  "rgb": {
    "r": 123,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 276.393,
    "s": 26.18,
    "l": 45.686
  },
  "oklch": {
    "l": 0.51725,
    "c": 0.10198,
    "h": 311.1
  },
  "luminance": 0.12973
}

Semantic roles & 50–950 ramp

primary
#7B5693
secondary
#9FB391
accent
#C3658A
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #7B5693

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

Preview Lab → · Contrast checker → · Palette generator →

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