#795FF1#795FF1

#795FF1 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.0% C 0.209 H 286.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#795FF1
RGBrgb(121, 95, 241)
HSLhsl(251, 84%, 66%)
HSVhsv(251, 61%, 95%)
CMYKcmyk(49.8%, 60.6%, 0%, 5.5%)
CIE-LABlab(50.21, 46.69, -70.23)
CIE-LCHlch(50.21, 84.33, 303.62°)
OKLaboklab(59.04% 0.0586 -0.2011)
OKLCHoklch(59.04% 0.21 286.2)
XYZxyz(27.8499, 18.5989, 85.3245)
Luminance0.1860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FF1 #D7F15F
analogous
#5F8EF1 #795FF1 #C25FF1
triadic
#795FF1 #F1795F #5FF179
tetradic
#795FF1 #F15F8E #D7F15F #5FF1C2
square
#795FF1 #F15F8E #D7F15F #5FF1C2
split-complementary
#795FF1 #F1C25F #8EF15F
monochromatic
#3111C4 #4A27EC #795FF1 #A897F6 #D7D0FB

Accessibility & contrast

On white

4.45
#795FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#795FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FF1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FF1#FFFFFF#000000##000000
##795FF11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.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: #795ff1;
/* rgb */ color: rgb(121, 95, 241);
/* oklch */ color: oklch(59.0% 0.209 286.2);
Tailwind
colors: {
  custom: {
    50: '#a88df7',
    500: '#795ff1',
    950: '#000000',
  },
}
SCSS
$custom: #795ff1;
$custom-light: #a88df7;
$custom-dark: #000000;
JSON
{
  "hex": "#795ff1",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 241
  },
  "hsl": {
    "h": 250.685,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59044,
    "c": 0.2095,
    "h": 286.2
  },
  "luminance": 0.186
}

Semantic roles & 50–950 ramp

primary
#795FF1
secondary
#E5EEBE
accent
#E005B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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