#783295#783295

#783295 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.163 H 314.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#783295
RGBrgb(120, 50, 149)
HSLhsl(282, 50%, 39%)
HSVhsv(282, 66%, 58%)
CMYKcmyk(19.5%, 66.4%, 0%, 41.6%)
CIE-LABlab(34.89, 46.63, -41.38)
CIE-LCHlch(34.89, 62.35, 318.41°)
OKLaboklab(45.9% 0.1142 -0.1163)
OKLCHoklch(45.9% 0.163 314.5)
XYZxyz(14.3103, 8.4447, 29.3041)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783295 #4F9532
analogous
#473295 #783295 #953281
triadic
#783295 #957832 #329578
tetradic
#783295 #954732 #4F9532 #328195
square
#783295 #954732 #4F9532 #328195
split-complementary
#783295 #819532 #329547
monochromatic
#2E1339 #532367 #783295 #9C44C0 #B472D0

Accessibility & contrast

On white

7.81
#783295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#783295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783295
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783295#FFFFFF#000000##FFFFFF
##7832951.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024E98
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#76455F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #783295;
/* rgb */ color: rgb(120, 50, 149);
/* oklch */ color: oklch(45.9% 0.163 314.5);
Tailwind
colors: {
  custom: {
    50: '#a26fb5',
    500: '#783295',
    950: '#000000',
  },
}
SCSS
$custom: #783295;
$custom-light: #a26fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#783295",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 282.424,
    "s": 49.749,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45897,
    "c": 0.16302,
    "h": 314.5
  },
  "luminance": 0.08444
}

Semantic roles & 50–950 ramp

primary
#783295
secondary
#82B86B
accent
#D94F77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #783295

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

Preview Lab → · Contrast checker → · Palette generator →

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