#785BDA#785BDA

#785BDA is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.186 H 289.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#785BDA
RGBrgb(120, 91, 218)
HSLhsl(254, 63%, 61%)
HSVhsv(254, 58%, 85%)
CMYKcmyk(45%, 58.3%, 0%, 14.5%)
CIE-LABlab(47.67, 42.19, -61.38)
CIE-LCHlch(47.67, 74.48, 304.51°)
OKLaboklab(56.66% 0.0625 -0.1751)
OKLCHoklch(56.66% 0.186 289.6)
XYZxyz(24.1381, 16.5363, 68.2361)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785BDA #BDDA5B
analogous
#5B7DDA #785BDA #B75BDA
triadic
#785BDA #DA785B #5BDA78
tetradic
#785BDA #DA5B7D #BDDA5B #5BDAB7
square
#785BDA #DA5B7D #BDDA5B #5BDAB7
split-complementary
#785BDA #DAB75B #7DDA5B
monochromatic
#3D2298 #512ECA #785BDA #A18DE5 #CABFF1

Accessibility & contrast

On white

4.88
#785BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#785BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785BDA
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785BDA#FFFFFF#000000##FFFFFF
##785BDA1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#5A7792
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #785bda;
/* rgb */ color: rgb(120, 91, 218);
/* oklch */ color: oklch(56.7% 0.186 289.6);
Tailwind
colors: {
  custom: {
    50: '#a58ae6',
    500: '#785bda',
    950: '#000000',
  },
}
SCSS
$custom: #785bda;
$custom-light: #a58ae6;
$custom-dark: #000000;
JSON
{
  "hex": "#785bda",
  "rgb": {
    "r": 120,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 253.701,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.56656,
    "c": 0.18596,
    "h": 289.6
  },
  "luminance": 0.16537
}

Semantic roles & 50–950 ramp

primary
#785BDA
secondary
#D6E1B0
accent
#CB1BA3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #785BDA

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

Preview Lab → · Contrast checker → · Palette generator →

#785BDA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva