#9792EA#9792EA

#9792EA is a light, vivid blue. Relative luminance 0.331; OKLCH L 70.0% C 0.127 H 285.2°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9792EA
RGBrgb(151, 146, 234)
HSLhsl(243, 68%, 75%)
HSVhsv(243, 38%, 92%)
CMYKcmyk(35.5%, 37.6%, 0%, 8.2%)
CIE-LABlab(64.22, 22.19, -43.81)
CIE-LCHlch(64.22, 49.11, 296.87°)
OKLaboklab(70.02% 0.0334 -0.1228)
OKLCHoklch(70.02% 0.127 285.2)
XYZxyz(37.8886, 33.0764, 82.2141)
Luminance0.3308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9792EA #E5EA92
analogous
#92B9EA #9792EA #C392EA
triadic
#9792EA #EA9792 #92EA97
tetradic
#9792EA #EA92B9 #E5EA92 #92EAC3
square
#9792EA #EA92B9 #E5EA92 #92EAC3
split-complementary
#9792EA #EAC392 #B9EA92
monochromatic
#352BD6 #665FE0 #9792EA #C8C5F4 #E7E5FA

Accessibility & contrast

On white

2.76
#9792EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#9792EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9792EA
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9792EA#FFFFFF#000000##000000
##9792EA1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#769EED
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#81A3B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9792ea;
/* rgb */ color: rgb(151, 146, 234);
/* oklch */ color: oklch(70.0% 0.127 285.2);
Tailwind
colors: {
  custom: {
    50: '#b8b2f1',
    500: '#9792ea',
    950: '#000000',
  },
}
SCSS
$custom: #9792ea;
$custom-light: #b8b2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9792ea",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 234
  },
  "hsl": {
    "h": 243.409,
    "s": 67.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.70015,
    "c": 0.12724,
    "h": 285.2
  },
  "luminance": 0.33078
}

Semantic roles & 50–950 ramp

primary
#9792EA
secondary
#F0F2D9
accent
#D016C5
background
#FBFAFE
surface
#F6F5FD
border
#D0CFD5
text
#121017
muted
#817F85

Preview Lab

Preview with #9792EA

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

Preview Lab → · Contrast checker → · Palette generator →

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