#795CF5#795CF5

#795CF5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.218 H 286.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795CF5
RGBrgb(121, 92, 245)
HSLhsl(251, 88%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(50.6%, 62.4%, 0%, 3.9%)
CIE-LABlab(49.87, 49.51, -73.02)
CIE-LCHlch(49.87, 88.23, 304.14°)
OKLaboklab(58.88% 0.0613 -0.2094)
OKLCHoklch(58.88% 0.218 286.3)
XYZxyz(28.1888, 18.3104, 88.4174)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CF5 #D8F55C
analogous
#5C8BF5 #795CF5 #C65CF5
triadic
#795CF5 #F5795C #5CF579
tetradic
#795CF5 #F55C8B #D8F55C #5CF5C6
square
#795CF5 #F55C8B #D8F55C #5CF5C6
split-complementary
#795CF5 #F5C65C #8BF55C
monochromatic
#300CCA #4A22F1 #795CF5 #A896F9 #D8CFFC

Accessibility & contrast

On white

4.50
#795CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#795CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795CF5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CF5#FFFFFF#000000##000000
##795CF51.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#4A81A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795cf5;
/* rgb */ color: rgb(121, 92, 245);
/* oklch */ color: oklch(58.9% 0.218 286.3);
Tailwind
colors: {
  custom: {
    50: '#a98cf9',
    500: '#795cf5',
    950: '#000000',
  },
}
SCSS
$custom: #795cf5;
$custom-light: #a98cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#795cf5",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 251.373,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58884,
    "c": 0.21814,
    "h": 286.3
  },
  "luminance": 0.18312
}

Semantic roles & 50–950 ramp

primary
#795CF5
secondary
#E6F0BD
accent
#E500BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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