#795EF3#795EF3

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

Color values

HEX#795EF3
RGBrgb(121, 94, 243)
HSLhsl(251, 86%, 66%)
HSVhsv(251, 61%, 95%)
CMYKcmyk(50.2%, 61.3%, 0%, 4.7%)
CIE-LABlab(50.14, 47.83, -71.46)
CIE-LCHlch(50.14, 85.99, 303.79°)
OKLaboklab(59.04% 0.0595 -0.2048)
OKLCHoklch(59.04% 0.213 286.2)
XYZxyz(28.0607, 18.5400, 86.8767)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EF3 #D8F35E
analogous
#5E8DF3 #795EF3 #C35EF3
triadic
#795EF3 #F3795E #5EF379
tetradic
#795EF3 #F35E8D #D8F35E #5EF3C3
square
#795EF3 #F35E8D #D8F35E #5EF3C3
split-complementary
#795EF3 #F3C35E #8DF35E
monochromatic
#300FC8 #4A25EF #795EF3 #A897F7 #D8D0FB

Accessibility & contrast

On white

4.46
#795EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#795EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EF3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EF3#FFFFFF#000000##000000
##795EF31.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4B82A0
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795ef3;
/* rgb */ color: rgb(121, 94, 243);
/* oklch */ color: oklch(59.0% 0.213 286.2);
Tailwind
colors: {
  custom: {
    50: '#a98df8',
    500: '#795ef3',
    950: '#000000',
  },
}
SCSS
$custom: #795ef3;
$custom-light: #a98df8;
$custom-dark: #000000;
JSON
{
  "hex": "#795ef3",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 250.872,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59038,
    "c": 0.21322,
    "h": 286.2
  },
  "luminance": 0.18541
}

Semantic roles & 50–950 ramp

primary
#795EF3
secondary
#E6EFBE
accent
#E303BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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