#795EE2#795EE2

#795EE2 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.8% C 0.192 H 288.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#795EE2
RGBrgb(121, 94, 226)
HSLhsl(252, 69%, 63%)
HSVhsv(252, 58%, 89%)
CMYKcmyk(46.5%, 58.4%, 0%, 11.4%)
CIE-LABlab(48.96, 42.96, -63.83)
CIE-LCHlch(48.96, 76.93, 303.94°)
OKLaboklab(57.79% 0.0603 -0.1823)
OKLCHoklch(57.79% 0.192 288.3)
XYZxyz(25.6114, 17.5603, 73.9768)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EE2 #C7E25E
analogous
#5E85E2 #795EE2 #BB5EE2
triadic
#795EE2 #E2795E #5EE279
tetradic
#795EE2 #E25E85 #C7E25E #5EE2BB
square
#795EE2 #E25E85 #C7E25E #5EE2BB
split-complementary
#795EE2 #E2BB5E #85E25E
monochromatic
#3A1EA7 #4E2AD9 #795EE2 #A492EB #CFC6F5

Accessibility & contrast

On white

4.65
#795EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#795EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795EE2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EE2#FFFFFF#000000##FFFFFF
##795EE21.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#577C97
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ee2;
/* rgb */ color: rgb(121, 94, 226);
/* oklch */ color: oklch(57.8% 0.192 288.3);
Tailwind
colors: {
  custom: {
    50: '#a78dec',
    500: '#795ee2',
    950: '#000000',
  },
}
SCSS
$custom: #795ee2;
$custom-light: #a78dec;
$custom-dark: #000000;
JSON
{
  "hex": "#795ee2",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 252.273,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.19202,
    "h": 288.3
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

primary
#795EE2
secondary
#DCE6B6
accent
#D114AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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