#785AEC#785AEC

#785AEC is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.210 H 287.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#785AEC
RGBrgb(120, 90, 236)
HSLhsl(252, 79%, 64%)
HSVhsv(252, 62%, 93%)
CMYKcmyk(49.2%, 61.9%, 0%, 7.5%)
CIE-LABlab(48.71, 47.87, -69.87)
CIE-LCHlch(48.71, 84.69, 304.42°)
OKLaboklab(57.81% 0.0627 -0.2001)
OKLCHoklch(57.81% 0.21 287.4)
XYZxyz(26.5378, 17.3603, 81.2932)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785AEC #CEEC5A
analogous
#5A85EC #785AEC #C15AEC
triadic
#785AEC #EC785A #5AEC78
tetradic
#785AEC #EC5A85 #CEEC5A #5AECC1
square
#785AEC #EC5A85 #CEEC5A #5AECC1
split-complementary
#785AEC #ECC15A #85EC5A
monochromatic
#3615B7 #4B23E6 #785AEC #A591F2 #D2C8F9

Accessibility & contrast

On white

4.70
#785AEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#785AEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785AEC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785AEC#FFFFFF#000000##FFFFFF
##785AEC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#4F7D9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #785aec;
/* rgb */ color: rgb(120, 90, 236);
/* oklch */ color: oklch(57.8% 0.210 287.4);
Tailwind
colors: {
  custom: {
    50: '#a88af3',
    500: '#785aec',
    950: '#000000',
  },
}
SCSS
$custom: #785aec;
$custom-light: #a88af3;
$custom-dark: #000000;
JSON
{
  "hex": "#785aec",
  "rgb": {
    "r": 120,
    "g": 90,
    "b": 236
  },
  "hsl": {
    "h": 252.329,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.57813,
    "c": 0.2097,
    "h": 287.4
  },
  "luminance": 0.17362
}

Semantic roles & 50–950 ramp

primary
#785AEC
secondary
#E0EBB7
accent
#DC0AB1
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #785AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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