#795EEF#795EEF

#795EEF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.7% C 0.208 H 286.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#795EEF
RGBrgb(121, 94, 239)
HSLhsl(251, 82%, 65%)
HSVhsv(251, 61%, 94%)
CMYKcmyk(49.4%, 60.7%, 0%, 6.3%)
CIE-LABlab(49.86, 46.68, -69.68)
CIE-LCHlch(49.86, 83.87, 303.82°)
OKLaboklab(58.74% 0.0597 -0.1995)
OKLCHoklch(58.74% 0.208 286.7)
XYZxyz(27.4633, 18.3011, 83.7300)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EEF #D4EF5E
analogous
#5E8CEF #795EEF #C15EEF
triadic
#795EEF #EF795E #5EEF79
tetradic
#795EEF #EF5E8C #D4EF5E #5EEFC1
square
#795EEF #EF5E8C #D4EF5E #5EEFC1
split-complementary
#795EEF #EFC15E #8CEF5E
monochromatic
#3313C0 #4B26E9 #795EEF #A796F5 #D6CDFA

Accessibility & contrast

On white

4.51
#795EEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#795EEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EEF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EEF#FFFFFF#000000##000000
##795EEF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0072EC
Tritanopia (blue-blind)
#4E809E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795eef;
/* rgb */ color: rgb(121, 94, 239);
/* oklch */ color: oklch(58.7% 0.208 286.7);
Tailwind
colors: {
  custom: {
    50: '#a88df5',
    500: '#795eef',
    950: '#000000',
  },
}
SCSS
$custom: #795eef;
$custom-light: #a88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#795eef",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 239
  },
  "hsl": {
    "h": 251.172,
    "s": 81.921,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.20829,
    "h": 286.7
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#795EEF
secondary
#E4EDBC
accent
#DE07B6
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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