#785FF1#785FF1

#785FF1 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.210 H 285.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#785FF1
RGBrgb(120, 95, 241)
HSLhsl(250, 84%, 66%)
HSVhsv(250, 61%, 95%)
CMYKcmyk(50.2%, 60.6%, 0%, 5.5%)
CIE-LABlab(50.13, 46.50, -70.37)
CIE-LCHlch(50.13, 84.35, 303.46°)
OKLaboklab(58.96% 0.0573 -0.2016)
OKLCHoklch(58.96% 0.21 285.9)
XYZxyz(27.7104, 18.5270, 85.3180)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FF1 #D8F15F
analogous
#5F8FF1 #785FF1 #C15FF1
triadic
#785FF1 #F1785F #5FF178
tetradic
#785FF1 #F15F8F #D8F15F #5FF1C1
square
#785FF1 #F15F8F #D8F15F #5FF1C1
split-complementary
#785FF1 #F1C15F #8FF15F
monochromatic
#3011C4 #4927EC #785FF1 #A797F6 #D7D0FB

Accessibility & contrast

On white

4.46
#785FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#785FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FF1
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FF1#FFFFFF#000000##000000
##785FF11.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#4B829F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #785ff1;
/* rgb */ color: rgb(120, 95, 241);
/* oklch */ color: oklch(59.0% 0.210 285.9);
Tailwind
colors: {
  custom: {
    50: '#a88df7',
    500: '#785ff1',
    950: '#000000',
  },
}
SCSS
$custom: #785ff1;
$custom-light: #a88df7;
$custom-dark: #000000;
JSON
{
  "hex": "#785ff1",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 250.274,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.20957,
    "h": 285.9
  },
  "luminance": 0.18528
}

Semantic roles & 50–950 ramp

primary
#785FF1
secondary
#E6EEBE
accent
#E005BB
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #785FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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