#9792FC#9792FC

#9792FC is a light, vivid blue. Relative luminance 0.342; OKLCH L 71.0% C 0.152 H 284.0°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#9792FC
RGBrgb(151, 146, 252)
HSLhsl(243, 95%, 78%)
HSVhsv(243, 42%, 99%)
CMYKcmyk(40.1%, 42.1%, 0%, 1.2%)
CIE-LABlab(65.09, 27.04, -52.32)
CIE-LCHlch(65.09, 58.89, 297.34°)
OKLaboklab(70.96% 0.0367 -0.1476)
OKLCHoklch(70.96% 0.152 284)
XYZxyz(40.6070, 34.1638, 96.5313)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9792FC #F7FC92
analogous
#92C2FC #9792FC #CC92FC
triadic
#9792FC #FC9792 #92FC97
tetradic
#9792FC #FC92C2 #F7FC92 #92FCCC
square
#9792FC #FC92C2 #F7FC92 #92FCCC
split-complementary
#9792FC #FCCC92 #C2FC92
monochromatic
#251BF9 #5E56FA #9792FC #D0CEFE #E3E1FE

Accessibility & contrast

On white

2.68
#9792FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#9792FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9792FC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9792FC#FFFFFF#000000##000000
##9792FC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA1FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#79A7BB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9792fc;
/* rgb */ color: rgb(151, 146, 252);
/* oklch */ color: oklch(71.0% 0.152 284.0);
Tailwind
colors: {
  custom: {
    50: '#bab2fe',
    500: '#9792fc',
    950: '#000000',
  },
}
SCSS
$custom: #9792fc;
$custom-light: #bab2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9792fc",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 242.83,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.70962,
    "c": 0.15207,
    "h": 284
  },
  "luminance": 0.34165
}

Semantic roles & 50–950 ramp

primary
#9792FC
secondary
#F5F6D5
accent
#E600DB
background
#FBFAFF
surface
#F7F5FF
border
#D0CFD7
text
#121018
muted
#817F86

Preview Lab

Preview with #9792FC

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

Preview Lab → · Contrast checker → · Palette generator →

#9792FC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva