#786293#786293

#786293 is a mid, moderate violet. Relative luminance 0.148; OKLCH L 53.7% C 0.079 H 304.5°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#786293
RGBrgb(120, 98, 147)
HSLhsl(267, 20%, 48%)
HSVhsv(267, 33%, 58%)
CMYKcmyk(18.4%, 33.3%, 0%, 42.4%)
CIE-LABlab(45.41, 19.10, -23.61)
CIE-LCHlch(45.41, 30.37, 308.98°)
OKLaboklab(53.69% 0.0447 -0.0651)
OKLCHoklch(53.69% 0.079 304.5)
XYZxyz(17.3788, 14.8351, 29.5460)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#786293 #7D9362
analogous
#626493 #786293 #906293
triadic
#786293 #937862 #629378
tetradic
#786293 #936264 #7D9362 #629390
square
#786293 #936264 #7D9362 #629390
split-complementary
#786293 #939062 #649362
monochromatic
#3C314A #5A4A6E #786293 #9785AD #B6A9C6

Accessibility & contrast

On white

5.29
#786293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#786293 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #786293
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##786293#FFFFFF#000000##FFFFFF
##7862931.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586B95
Deuteranopia (green-blind)
#5C6C92
Tritanopia (blue-blind)
#746974
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #786293;
/* rgb */ color: rgb(120, 98, 147);
/* oklch */ color: oklch(53.7% 0.079 304.5);
Tailwind
colors: {
  custom: {
    50: '#9f8fb3',
    500: '#786293',
    950: '#000000',
  },
}
SCSS
$custom: #786293;
$custom-light: #9f8fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#786293",
  "rgb": {
    "r": 120,
    "g": 98,
    "b": 147
  },
  "hsl": {
    "h": 266.939,
    "s": 20,
    "l": 48.039
  },
  "oklch": {
    "l": 0.53689,
    "c": 0.07892,
    "h": 304.5
  },
  "luminance": 0.14835
}

Semantic roles & 50–950 ramp

primary
#786293
secondary
#AAB59C
accent
#BD6B98
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C11
muted
#7E7D80

Preview Lab

Preview with #786293

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

Preview Lab → · Contrast checker → · Palette generator →

#786293 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva