#785FF8#785FF8

#785FF8 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.5% C 0.218 H 285.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#785FF8
RGBrgb(120, 95, 248)
HSLhsl(250, 92%, 67%)
HSVhsv(250, 62%, 97%)
CMYKcmyk(51.6%, 61.7%, 0%, 2.7%)
CIE-LABlab(50.63, 48.53, -73.46)
CIE-LCHlch(50.63, 88.04, 303.45°)
OKLaboklab(59.49% 0.0569 -0.2107)
OKLCHoklch(59.49% 0.218 285.1)
XYZxyz(28.7761, 18.9533, 90.9308)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#785FF8 #DFF85F
analogous
#5F93F8 #785FF8 #C55FF8
triadic
#785FF8 #F8785F #5FF878
tetradic
#785FF8 #F85F93 #DFF85F #5FF8C5
square
#785FF8 #F85F93 #DFF85F #5FF8C5
split-complementary
#785FF8 #F8C55F #93F85F
monochromatic
#2A09D3 #4724F5 #785FF8 #A99AFB #DBD4FD

Accessibility & contrast

On white

4.38
#785FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#785FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #785FF8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##785FF8#FFFFFF#000000##000000
##785FF81.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFD
Deuteranopia (green-blind)
#0074F5
Tritanopia (blue-blind)
#4584A3
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #785ff8;
/* rgb */ color: rgb(120, 95, 248);
/* oklch */ color: oklch(59.5% 0.218 285.1);
Tailwind
colors: {
  custom: {
    50: '#a98efc',
    500: '#785ff8',
    950: '#000000',
  },
}
SCSS
$custom: #785ff8;
$custom-light: #a98efc;
$custom-dark: #000000;
JSON
{
  "hex": "#785ff8",
  "rgb": {
    "r": 120,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 249.804,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59486,
    "c": 0.21821,
    "h": 285.1
  },
  "luminance": 0.18955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #785FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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