#7B6299#7B6299

#7B6299 is a mid, moderate violet. Relative luminance 0.152; OKLCH L 54.3% C 0.088 H 304.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7B6299
RGBrgb(123, 98, 153)
HSLhsl(267, 22%, 49%)
HSVhsv(267, 36%, 60%)
CMYKcmyk(19.6%, 35.9%, 0%, 40%)
CIE-LABlab(45.97, 21.53, -26.28)
CIE-LCHlch(45.97, 33.97, 309.32°)
OKLaboklab(54.28% 0.0499 -0.0727)
OKLCHoklch(54.28% 0.088 304.5)
XYZxyz(18.2847, 15.2463, 32.1104)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B6299 #809962
analogous
#626599 #7B6299 #976299
triadic
#7B6299 #997B62 #62997B
tetradic
#7B6299 #996265 #809962 #629997
square
#7B6299 #996265 #809962 #629997
split-complementary
#7B6299 #999762 #659962
monochromatic
#3F324E #5D4A74 #7B6299 #9A86B2 #B9ACCA

Accessibility & contrast

On white

5.19
#7B6299 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7B6299 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B6299
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B6299#FFFFFF#000000##FFFFFF
##7B62991.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566C9B
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#766A76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b6299;
/* rgb */ color: rgb(123, 98, 153);
/* oklch */ color: oklch(54.3% 0.088 304.5);
Tailwind
colors: {
  custom: {
    50: '#a28fb7',
    500: '#7b6299',
    950: '#000000',
  },
}
SCSS
$custom: #7b6299;
$custom-light: #a28fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b6299",
  "rgb": {
    "r": 123,
    "g": 98,
    "b": 153
  },
  "hsl": {
    "h": 267.273,
    "s": 21.912,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54275,
    "c": 0.08817,
    "h": 304.5
  },
  "luminance": 0.15246
}

Semantic roles & 50–950 ramp

primary
#7B6299
secondary
#ADB89F
accent
#BE6998
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7B6299

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

Preview Lab → · Contrast checker → · Palette generator →

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