#795FF2#795FF2

#795FF2 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.211 H 286.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795FF2
RGBrgb(121, 95, 242)
HSLhsl(251, 85%, 66%)
HSVhsv(251, 61%, 95%)
CMYKcmyk(50%, 60.7%, 0%, 5.1%)
CIE-LABlab(50.29, 46.98, -70.67)
CIE-LCHlch(50.29, 84.86, 303.61°)
OKLaboklab(59.12% 0.0585 -0.2024)
OKLCHoklch(59.12% 0.211 286.1)
XYZxyz(27.9996, 18.6588, 86.1133)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FF2 #D8F25F
analogous
#5F8EF2 #795FF2 #C25FF2
triadic
#795FF2 #F2795F #5FF279
tetradic
#795FF2 #F25F8E #D8F25F #5FF2C2
square
#795FF2 #F25F8E #D8F25F #5FF2C2
split-complementary
#795FF2 #F2C25F #8EF25F
monochromatic
#3010C6 #4A26ED #795FF2 #A898F7 #D8D0FB

Accessibility & contrast

On white

4.44
#795FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#795FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FF2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FF2#FFFFFF#000000##000000
##795FF21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#4C82A0
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795ff2;
/* rgb */ color: rgb(121, 95, 242);
/* oklch */ color: oklch(59.1% 0.211 286.1);
Tailwind
colors: {
  custom: {
    50: '#a98df7',
    500: '#795ff2',
    950: '#000000',
  },
}
SCSS
$custom: #795ff2;
$custom-light: #a98df7;
$custom-dark: #000000;
JSON
{
  "hex": "#795ff2",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 250.612,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.21073,
    "h": 286.1
  },
  "luminance": 0.1866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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