#9795F5#9795F5

#9795F5 is a light, vivid blue. Relative luminance 0.347; OKLCH L 71.2% C 0.138 H 283.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#9795F5
RGBrgb(151, 149, 245)
HSLhsl(241, 83%, 77%)
HSVhsv(241, 39%, 96%)
CMYKcmyk(38.4%, 39.2%, 0%, 3.9%)
CIE-LABlab(65.49, 23.41, -47.86)
CIE-LCHlch(65.49, 53.28, 296.07°)
OKLaboklab(71.15% 0.0317 -0.1346)
OKLCHoklch(71.15% 0.138 283.3)
XYZxyz(39.9867, 34.6653, 90.9527)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9795F5 #F3F595
analogous
#95C3F5 #9795F5 #C795F5
triadic
#9795F5 #F59795 #95F597
tetradic
#9795F5 #F595C3 #F3F595 #95F5C7
square
#9795F5 #F595C3 #F3F595 #95F5C7
split-complementary
#9795F5 #F5C795 #C3F595
monochromatic
#2925EA #605DF0 #9795F5 #CECDFA #E4E3FC

Accessibility & contrast

On white

2.65
#9795F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#9795F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9795F5
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9795F5#FFFFFF#000000##000000
##9795F51.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F9
Deuteranopia (green-blind)
#719CF3
Tritanopia (blue-blind)
#7CA8B9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9795f5;
/* rgb */ color: rgb(151, 149, 245);
/* oklch */ color: oklch(71.2% 0.138 283.3);
Tailwind
colors: {
  custom: {
    50: '#b9b4f9',
    500: '#9795f5',
    950: '#000000',
  },
}
SCSS
$custom: #9795f5;
$custom-light: #b9b4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9795f5",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 245
  },
  "hsl": {
    "h": 241.25,
    "s": 82.759,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71151,
    "c": 0.13825,
    "h": 283.3
  },
  "luminance": 0.34667
}

Semantic roles & 50–950 ramp

primary
#9795F5
secondary
#F4F4D7
accent
#DF06DB
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9795F5

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

Preview Lab → · Contrast checker → · Palette generator →

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