#795FFC#795FFC

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

Color values

HEX#795FFC
RGBrgb(121, 95, 252)
HSLhsl(250, 96%, 68%)
HSVhsv(250, 62%, 99%)
CMYKcmyk(52%, 62.3%, 0%, 1.2%)
CIE-LABlab(51.01, 49.86, -75.07)
CIE-LCHlch(51.01, 90.12, 303.59°)
OKLaboklab(59.87% 0.0578 -0.2154)
OKLCHoklch(59.87% 0.223 285)
XYZxyz(29.5428, 19.2761, 94.2406)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FFC #E2FC5F
analogous
#5F94FC #795FFC #C75FFC
triadic
#795FFC #FC795F #5FFC79
tetradic
#795FFC #FC5F94 #E2FC5F #5FFCC7
square
#795FFC #FC5F94 #E2FC5F #5FFCC7
split-complementary
#795FFC #FCC75F #94FC5F
monochromatic
#2804DC #4723FB #795FFC #AB9BFD #DED7FE

Accessibility & contrast

On white

4.32
#795FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#795FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FFC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FFC#FFFFFF#000000##000000
##795FFC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F9
Tritanopia (blue-blind)
#4485A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795ffc;
/* rgb */ color: rgb(121, 95, 252);
/* oklch */ color: oklch(59.9% 0.223 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa8efe',
    500: '#795ffc',
    950: '#000000',
  },
}
SCSS
$custom: #795ffc;
$custom-light: #aa8efe;
$custom-dark: #000000;
JSON
{
  "hex": "#795ffc",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 252
  },
  "hsl": {
    "h": 249.936,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.223,
    "h": 285
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

primary
#795FFC
secondary
#EBF3C3
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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