#795EF1#795EF1

#795EF1 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.211 H 286.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#795EF1
RGBrgb(121, 94, 241)
HSLhsl(251, 84%, 66%)
HSVhsv(251, 61%, 95%)
CMYKcmyk(49.8%, 61%, 0%, 5.5%)
CIE-LABlab(50.00, 47.25, -70.57)
CIE-LCHlch(50.00, 84.93, 303.80°)
OKLaboklab(58.89% 0.0596 -0.2021)
OKLCHoklch(58.89% 0.211 286.4)
XYZxyz(27.7604, 18.4199, 85.2947)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EF1 #D6F15E
analogous
#5E8DF1 #795EF1 #C25EF1
triadic
#795EF1 #F1795E #5EF179
tetradic
#795EF1 #F15E8D #D6F15E #5EF1C2
square
#795EF1 #F15E8D #D6F15E #5EF1C2
split-complementary
#795EF1 #F1C25E #8DF15E
monochromatic
#3211C4 #4A26EC #795EF1 #A896F6 #D7CFFB

Accessibility & contrast

On white

4.48
#795EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#795EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EF1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EF1#FFFFFF#000000##000000
##795EF11.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF6
Deuteranopia (green-blind)
#0073EE
Tritanopia (blue-blind)
#4D819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795ef1;
/* rgb */ color: rgb(121, 94, 241);
/* oklch */ color: oklch(58.9% 0.211 286.4);
Tailwind
colors: {
  custom: {
    50: '#a88df7',
    500: '#795ef1',
    950: '#000000',
  },
}
SCSS
$custom: #795ef1;
$custom-light: #a88df7;
$custom-dark: #000000;
JSON
{
  "hex": "#795ef1",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 251.02,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.58888,
    "c": 0.21075,
    "h": 286.4
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#795EF1
secondary
#E5EEBD
accent
#E005B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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