#9795FC#9795FC

#9795FC is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.5% C 0.148 H 282.9°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9795FC
RGBrgb(151, 149, 252)
HSLhsl(241, 94%, 79%)
HSVhsv(241, 41%, 99%)
CMYKcmyk(40.1%, 40.9%, 0%, 1.2%)
CIE-LABlab(65.83, 25.32, -51.15)
CIE-LCHlch(65.83, 57.08, 296.33°)
OKLaboklab(71.52% 0.033 -0.1442)
OKLCHoklch(71.52% 0.148 282.9)
XYZxyz(41.0756, 35.1009, 96.6875)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9795FC #FAFC95
analogous
#95C6FC #9795FC #CA95FC
triadic
#9795FC #FC9795 #95FC97
tetradic
#9795FC #FC95C6 #FAFC95 #95FCCA
square
#9795FC #FC95C6 #FAFC95 #95FCCA
split-complementary
#9795FC #FCCA95 #C6FC95
monochromatic
#221EF9 #5D59FA #9795FC #D1D1FE #E2E1FE

Accessibility & contrast

On white

2.62
#9795FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9795FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9795FC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9795FC#FFFFFF#000000##000000
##9795FC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#6C9DFA
Tritanopia (blue-blind)
#79A9BC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9795fc;
/* rgb */ color: rgb(151, 149, 252);
/* oklch */ color: oklch(71.5% 0.148 282.9);
Tailwind
colors: {
  custom: {
    50: '#b9b4fe',
    500: '#9795fc',
    950: '#000000',
  },
}
SCSS
$custom: #9795fc;
$custom-light: #b9b4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9795fc",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 241.165,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.71521,
    "c": 0.14789,
    "h": 282.9
  },
  "luminance": 0.35102
}

Semantic roles & 50–950 ramp

primary
#9795FC
secondary
#F6F6D5
accent
#E600E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9795FC

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

Preview Lab → · Contrast checker → · Palette generator →

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