#785AE8#785AE8

#785AE8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.5% C 0.205 H 287.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#785AE8
RGBrgb(120, 90, 232)
HSLhsl(253, 76%, 63%)
HSVhsv(253, 61%, 91%)
CMYKcmyk(48.3%, 61.2%, 0%, 9%)
CIE-LABlab(48.42, 46.73, -68.08)
CIE-LCHlch(48.42, 82.58, 304.47°)
OKLaboklab(57.51% 0.063 -0.1949)
OKLCHoklch(57.51% 0.205 287.9)
XYZxyz(25.9632, 17.1305, 78.2668)
Luminance0.1713 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AE8 #CAE85A
analogous
#5A83E8 #785AE8 #BF5AE8
triadic
#785AE8 #E8785A #5AE878
tetradic
#785AE8 #E85A83 #CAE85A #5AE8BF
square
#785AE8 #E85A83 #CAE85A #5AE8BF
split-complementary
#785AE8 #E8BF5A #83E85A
monochromatic
#3818AF #4C24E1 #785AE8 #A490EF #D0C5F7

Accessibility & contrast

On white

4.74
#785AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#785AE8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785AE8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AE8#FFFFFF#000000##FFFFFF
##785AE81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#006FE5
Tritanopia (blue-blind)
#527B99
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #785ae8;
/* rgb */ color: rgb(120, 90, 232);
/* oklch */ color: oklch(57.5% 0.205 287.9);
Tailwind
colors: {
  custom: {
    50: '#a78af0',
    500: '#785ae8',
    950: '#000000',
  },
}
SCSS
$custom: #785ae8;
$custom-light: #a78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#785ae8",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 252.676,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.57514,
    "c": 0.20479,
    "h": 287.9
  },
  "luminance": 0.17132
}

Semantic roles & 50–950 ramp

primary
#785AE8
secondary
#DEE8B5
accent
#D80EAD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #785AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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