#795EEA#795EEA

#795EEA is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.4% C 0.202 H 287.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795EEA
RGBrgb(121, 94, 234)
HSLhsl(252, 77%, 64%)
HSVhsv(252, 60%, 92%)
CMYKcmyk(48.3%, 59.8%, 0%, 8.2%)
CIE-LABlab(49.51, 45.24, -67.45)
CIE-LCHlch(49.51, 81.21, 303.85°)
OKLaboklab(58.37% 0.06 -0.193)
OKLCHoklch(58.37% 0.202 287.3)
XYZxyz(26.7348, 18.0097, 79.8935)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EEA #CFEA5E
analogous
#5E89EA #795EEA #BF5EEA
triadic
#795EEA #EA795E #5EEA79
tetradic
#795EEA #EA5E89 #CFEA5E #5EEABF
square
#795EEA #EA5E89 #CFEA5E #5EEABF
split-complementary
#795EEA #EABF5E #89EA5E
monochromatic
#3618B6 #4C28E3 #795EEA #A694F1 #D3CAF8

Accessibility & contrast

On white

4.56
#795EEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#795EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EEA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EEA#FFFFFF#000000##000000
##795EEA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#527F9B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795eea;
/* rgb */ color: rgb(121, 94, 234);
/* oklch */ color: oklch(58.4% 0.202 287.3);
Tailwind
colors: {
  custom: {
    50: '#a88df2',
    500: '#795eea',
    950: '#000000',
  },
}
SCSS
$custom: #795eea;
$custom-light: #a88df2;
$custom-dark: #000000;
JSON
{
  "hex": "#795eea",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 251.571,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58372,
    "c": 0.20207,
    "h": 287.3
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#795EEA
secondary
#E1EABA
accent
#D90CB2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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