#785FCF#785FCF

#785FCF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.166 H 290.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#785FCF
RGBrgb(120, 95, 207)
HSLhsl(253, 54%, 59%)
HSVhsv(253, 54%, 81%)
CMYKcmyk(42%, 54.1%, 0%, 18.8%)
CIE-LABlab(47.86, 36.77, -54.80)
CIE-LCHlch(47.86, 65.99, 303.86°)
OKLaboklab(56.57% 0.0578 -0.1558)
OKLCHoklch(56.57% 0.166 290.4)
XYZxyz(23.0973, 16.6817, 61.0223)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FCF #B6CF5F
analogous
#5F7ECF #785FCF #B05FCF
triadic
#785FCF #CF785F #5FCF78
tetradic
#785FCF #CF5F7E #B6CF5F #5FCFB0
square
#785FCF #CF5F7E #B6CF5F #5FCFB0
split-complementary
#785FCF #CFB05F #7ECF5F
monochromatic
#3F298A #5538B9 #785FCF #A08EDD #C7BDEB

Accessibility & contrast

On white

4.84
#785FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#785FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #785FCF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FCF#FFFFFF#000000##FFFFFF
##785FCF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#5F778E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #785fcf;
/* rgb */ color: rgb(120, 95, 207);
/* oklch */ color: oklch(56.6% 0.166 290.4);
Tailwind
colors: {
  custom: {
    50: '#a48dde',
    500: '#785fcf',
    950: '#000000',
  },
}
SCSS
$custom: #785fcf;
$custom-light: #a48dde;
$custom-dark: #000000;
JSON
{
  "hex": "#785fcf",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 253.393,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56565,
    "c": 0.16617,
    "h": 290.4
  },
  "luminance": 0.16682
}

Semantic roles & 50–950 ramp

primary
#785FCF
secondary
#D1DBAF
accent
#DD4BBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #785FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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