#795FFD#795FFD

#795FFD is a mid, highly saturated blue. Relative luminance 0.193; OKLCH L 59.9% C 0.224 H 284.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#795FFD
RGBrgb(121, 95, 253)
HSLhsl(250, 98%, 68%)
HSVhsv(250, 62%, 99%)
CMYKcmyk(52.2%, 62.5%, 0%, 0.8%)
CIE-LABlab(51.08, 50.15, -75.50)
CIE-LCHlch(51.08, 90.64, 303.59°)
OKLaboklab(59.95% 0.0577 -0.2166)
OKLCHoklch(59.95% 0.224 284.9)
XYZxyz(29.7017, 19.3396, 95.0773)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FFD #E3FD5F
analogous
#5F94FD #795FFD #C85FFD
triadic
#795FFD #FD795F #5FFD79
tetradic
#795FFD #FD5F94 #E3FD5F #5FFDC8
square
#795FFD #FD5F94 #E3FD5F #5FFDC8
split-complementary
#795FFD #FDC85F #94FD5F
monochromatic
#2703DF #4623FC #795FFD #AC9BFE #DED8FF

Accessibility & contrast

On white

4.31
#795FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#795FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FFD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FFD#FFFFFF#000000##000000
##795FFD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#4386A5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #795ffd;
/* rgb */ color: rgb(121, 95, 253);
/* oklch */ color: oklch(59.9% 0.224 284.9);
Tailwind
colors: {
  custom: {
    50: '#aa8eff',
    500: '#795ffd',
    950: '#000000',
  },
}
SCSS
$custom: #795ffd;
$custom-light: #aa8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#795ffd",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 249.873,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59949,
    "c": 0.22421,
    "h": 284.9
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#795FFD
secondary
#ECF4C4
accent
#E600C0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795FFD

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

Preview Lab → · Contrast checker → · Palette generator →

#795FFD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva