#783BBB#783BBB

#783BBB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.192 H 301.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#783BBB
RGBrgb(120, 59, 187)
HSLhsl(269, 52%, 48%)
HSVhsv(269, 68%, 73%)
CMYKcmyk(35.8%, 68.4%, 0%, 26.7%)
CIE-LABlab(39.09, 51.16, -57.35)
CIE-LCHlch(39.09, 76.86, 311.73°)
OKLaboklab(49.74% 0.1003 -0.1633)
OKLCHoklch(49.74% 0.192 301.6)
XYZxyz(18.2772, 10.7088, 48.1082)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783BBB #7EBB3B
analogous
#3B3EBB #783BBB #B83BBB
triadic
#783BBB #BB783B #3BBB78
tetradic
#783BBB #BB3B3E #7EBB3B #3BBBB8
square
#783BBB #BB3B3E #7EBB3B #3BBBB8
split-complementary
#783BBB #BBB83B #3EBB3B
monochromatic
#3C1E5E #5A2C8C #783BBB #9765CE #B693DD

Accessibility & contrast

On white

6.68
#783BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#783BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #783BBB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783BBB#FFFFFF#000000##FFFFFF
##783BBB1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#6A5976
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #783bbb;
/* rgb */ color: rgb(120, 59, 187);
/* oklch */ color: oklch(49.7% 0.192 301.6);
Tailwind
colors: {
  custom: {
    50: '#a475d0',
    500: '#783bbb',
    950: '#000000',
  },
}
SCSS
$custom: #783bbb;
$custom-light: #a475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#783bbb",
  "rgb": {
    "r": 120,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 268.594,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4974,
    "c": 0.19163,
    "h": 301.6
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#783BBB
secondary
#AAC88A
accent
#DB4C97
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #783BBB

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

Preview Lab → · Contrast checker → · Palette generator →

#783BBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva