#9795FA#9795FA

#9795FA is a light, vivid blue. Relative luminance 0.350; OKLCH L 71.4% C 0.145 H 283.0°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#9795FA
RGBrgb(151, 149, 250)
HSLhsl(241, 91%, 78%)
HSVhsv(241, 40%, 98%)
CMYKcmyk(39.6%, 40.4%, 0%, 2%)
CIE-LABlab(65.73, 24.77, -50.22)
CIE-LCHlch(65.73, 55.99, 296.26°)
OKLaboklab(71.41% 0.0326 -0.1414)
OKLCHoklch(71.41% 0.145 283)
XYZxyz(40.7603, 34.9748, 95.0271)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9795FA #F8FA95
analogous
#95C5FA #9795FA #C995FA
triadic
#9795FA #FA9795 #95FA97
tetradic
#9795FA #FA95C5 #F8FA95 #95FAC9
square
#9795FA #FA95C5 #F8FA95 #95FAC9
split-complementary
#9795FA #FAC995 #C5FA95
monochromatic
#2420F4 #5E5BF7 #9795FA #D0CFFD #E2E2FE

Accessibility & contrast

On white

2.63
#9795FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#9795FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9795FA
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9795FA#FFFFFF#000000##000000
##9795FA1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#7AA9BB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9795fa;
/* rgb */ color: rgb(151, 149, 250);
/* oklch */ color: oklch(71.4% 0.145 283.0);
Tailwind
colors: {
  custom: {
    50: '#b9b4fc',
    500: '#9795fa',
    950: '#000000',
  },
}
SCSS
$custom: #9795fa;
$custom-light: #b9b4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9795fa",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 250
  },
  "hsl": {
    "h": 241.188,
    "s": 90.991,
    "l": 78.235
  },
  "oklch": {
    "l": 0.71414,
    "c": 0.14515,
    "h": 283
  },
  "luminance": 0.34976
}

Semantic roles & 50–950 ramp

primary
#9795FA
secondary
#F5F6D5
accent
#E600E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9795FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9795FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva