#795BF3#795BF3

#795BF3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.217 H 286.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795BF3
RGBrgb(121, 91, 243)
HSLhsl(252, 86%, 65%)
HSVhsv(252, 63%, 95%)
CMYKcmyk(50.2%, 62.6%, 0%, 4.7%)
CIE-LABlab(49.52, 49.50, -72.48)
CIE-LCHlch(49.52, 87.77, 304.33°)
OKLaboklab(58.58% 0.0624 -0.2078)
OKLCHoklch(58.58% 0.217 286.7)
XYZxyz(27.7991, 18.0168, 86.7895)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BF3 #D5F35B
analogous
#5B89F3 #795BF3 #C55BF3
triadic
#795BF3 #F3795B #5BF379
tetradic
#795BF3 #F35B89 #D5F35B #5BF3C5
square
#795BF3 #F35B89 #D5F35B #5BF3C5
split-complementary
#795BF3 #F3C55B #89F35B
monochromatic
#320EC5 #4A22EF #795BF3 #A894F7 #D6CDFB

Accessibility & contrast

On white

4.56
#795BF3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#795BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795BF3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BF3#FFFFFF#000000##000000
##795BF31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF8
Deuteranopia (green-blind)
#0071F0
Tritanopia (blue-blind)
#4C809F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795bf3;
/* rgb */ color: rgb(121, 91, 243);
/* oklch */ color: oklch(58.6% 0.217 286.7);
Tailwind
colors: {
  custom: {
    50: '#a98bf8',
    500: '#795bf3',
    950: '#000000',
  },
}
SCSS
$custom: #795bf3;
$custom-light: #a98bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#795bf3",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 243
  },
  "hsl": {
    "h": 251.842,
    "s": 86.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.21694,
    "h": 286.7
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#795BF3
secondary
#E4EEBB
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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