#785273#785273

#785273 is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.2% C 0.070 H 331.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#785273
RGBrgb(120, 82, 115)
HSLhsl(308, 19%, 40%)
HSVhsv(308, 32%, 47%)
CMYKcmyk(0%, 31.7%, 4.2%, 52.9%)
CIE-LABlab(40.02, 21.67, -12.48)
CIE-LCHlch(40.02, 25.01, 330.07°)
OKLaboklab(49.15% 0.0612 -0.0336)
OKLCHoklch(49.15% 0.07 331.2)
XYZxyz(13.8573, 11.2660, 17.6609)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785273 #527857
analogous
#6A5278 #785273 #785260
triadic
#785273 #737852 #527378
tetradic
#785273 #786A52 #527857 #526078
square
#785273 #786A52 #527857 #526078
split-complementary
#785273 #607852 #52786A
monochromatic
#2F202D #543950 #785273 #9B6C95 #B491AF

Accessibility & contrast

On white

6.46
#785273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#785273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785273
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785273#FFFFFF#000000##FFFFFF
##7852731.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515B74
Deuteranopia (green-blind)
#5A6072
Tritanopia (blue-blind)
#7B545E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #785273;
/* rgb */ color: rgb(120, 82, 115);
/* oklch */ color: oklch(49.2% 0.070 331.2);
Tailwind
colors: {
  custom: {
    50: '#9f839b',
    500: '#785273',
    950: '#000000',
  },
}
SCSS
$custom: #785273;
$custom-light: #9f839b;
$custom-dark: #000000;
JSON
{
  "hex": "#785273",
  "rgb": {
    "r": 120,
    "g": 82,
    "b": 115
  },
  "hsl": {
    "h": 307.895,
    "s": 18.812,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.06976,
    "h": 331.2
  },
  "luminance": 0.11265
}

Semantic roles & 50–950 ramp

primary
#785273
secondary
#85A188
accent
#BB776C
background
#F9F8F9
surface
#F2EFF2
border
#CCCACC
text
#0E0A0E
muted
#7E7C7E

Preview Lab

Preview with #785273

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

Preview Lab → · Contrast checker → · Palette generator →

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