#785FFA#785FFA

#785FFA is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.6% C 0.221 H 284.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#785FFA
RGBrgb(120, 95, 250)
HSLhsl(250, 94%, 68%)
HSVhsv(250, 62%, 98%)
CMYKcmyk(52%, 62%, 0%, 2%)
CIE-LABlab(50.78, 49.11, -74.33)
CIE-LCHlch(50.78, 89.09, 303.45°)
OKLaboklab(59.64% 0.0567 -0.2132)
OKLCHoklch(59.64% 0.221 284.9)
XYZxyz(29.0881, 19.0780, 92.5736)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FFA #E1FA5F
analogous
#5F94FA #785FFA #C55FFA
triadic
#785FFA #FA785F #5FFA78
tetradic
#785FFA #FA5F94 #E1FA5F #5FFAC5
square
#785FFA #FA5F94 #E1FA5F #5FFAC5
split-complementary
#785FFA #FAC55F #94FA5F
monochromatic
#2807D8 #4624F8 #785FFA #AA9AFC #DCD6FE

Accessibility & contrast

On white

4.36
#785FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#785FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FFA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FFA#FFFFFF#000000##000000
##785FFA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#4385A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #785ffa;
/* rgb */ color: rgb(120, 95, 250);
/* oklch */ color: oklch(59.6% 0.221 284.9);
Tailwind
colors: {
  custom: {
    50: '#a98efd',
    500: '#785ffa',
    950: '#000000',
  },
}
SCSS
$custom: #785ffa;
$custom-light: #a98efd;
$custom-dark: #000000;
JSON
{
  "hex": "#785ffa",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 249.677,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.59638,
    "c": 0.22066,
    "h": 284.9
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#785FFA
secondary
#EBF2C2
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #785FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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