#9780F4#9780F4

#9780F4 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.167 H 290.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9780F4
RGBrgb(151, 128, 244)
HSLhsl(252, 84%, 73%)
HSVhsv(252, 48%, 96%)
CMYKcmyk(38.1%, 47.5%, 0%, 4.3%)
CIE-LABlab(60.38, 35.22, -55.41)
CIE-LCHlch(60.38, 65.65, 302.44°)
OKLaboklab(67.27% 0.058 -0.1567)
OKLCHoklch(67.27% 0.167 290.3)
XYZxyz(36.8064, 28.5483, 89.1415)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9780F4 #DDF480
analogous
#80A3F4 #9780F4 #D180F4
triadic
#9780F4 #F49780 #80F497
tetradic
#9780F4 #F480A3 #DDF480 #80F4D1
square
#9780F4 #F480A3 #DDF480 #80F4D1
split-complementary
#9780F4 #F4D180 #A3F480
monochromatic
#3D14E6 #6948EF #9780F4 #C5B8F9 #E8E3FD

Accessibility & contrast

On white

3.13
#9780F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9780F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9780F4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9780F4#FFFFFF#000000##000000
##9780F41.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F8
Deuteranopia (green-blind)
#568FF1
Tritanopia (blue-blind)
#7E97AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9780f4;
/* rgb */ color: rgb(151, 128, 244);
/* oklch */ color: oklch(67.3% 0.167 290.3);
Tailwind
colors: {
  custom: {
    50: '#baa5f8',
    500: '#9780f4',
    950: '#000000',
  },
}
SCSS
$custom: #9780f4;
$custom-light: #baa5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#9780f4",
  "rgb": {
    "r": 151,
    "g": 128,
    "b": 244
  },
  "hsl": {
    "h": 251.897,
    "s": 84.058,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.16703,
    "h": 290.3
  },
  "luminance": 0.28549
}

Semantic roles & 50–950 ramp

primary
#9780F4
secondary
#EFF5D6
accent
#E105B5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9780F4

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

Preview Lab → · Contrast checker → · Palette generator →

#9780F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva