#795DEF#795DEF

#795DEF is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.210 H 286.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#795DEF
RGBrgb(121, 93, 239)
HSLhsl(252, 82%, 65%)
HSVhsv(252, 61%, 94%)
CMYKcmyk(49.4%, 61.1%, 0%, 6.3%)
CIE-LABlab(49.65, 47.24, -70.03)
CIE-LCHlch(49.65, 84.47, 304.00°)
OKLaboklab(58.58% 0.0607 -0.2006)
OKLCHoklch(58.58% 0.21 286.8)
XYZxyz(27.3749, 18.1244, 83.7005)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DEF #D3EF5D
analogous
#5D8AEF #795DEF #C25DEF
triadic
#795DEF #EF795D #5DEF79
tetradic
#795DEF #EF5D8A #D3EF5D #5DEFC2
square
#795DEF #EF5D8A #D3EF5D #5DEFC2
split-complementary
#795DEF #EFC25D #8AEF5D
monochromatic
#3413BF #4B25E9 #795DEF #A795F5 #D5CCFA

Accessibility & contrast

On white

4.54
#795DEF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#795DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DEF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DEF#FFFFFF#000000##000000
##795DEF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795def;
/* rgb */ color: rgb(121, 93, 239);
/* oklch */ color: oklch(58.6% 0.210 286.8);
Tailwind
colors: {
  custom: {
    50: '#a88cf5',
    500: '#795def',
    950: '#000000',
  },
}
SCSS
$custom: #795def;
$custom-light: #a88cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#795def",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 251.507,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.20955,
    "h": 286.8
  },
  "luminance": 0.18126
}

Semantic roles & 50–950 ramp

primary
#795DEF
secondary
#E3EDBB
accent
#DE07B5
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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