#795FEF#795FEF

#795FEF is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 58.9% C 0.207 H 286.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#795FEF
RGBrgb(121, 95, 239)
HSLhsl(251, 82%, 65%)
HSVhsv(251, 60%, 94%)
CMYKcmyk(49.4%, 60.3%, 0%, 6.3%)
CIE-LABlab(50.07, 46.11, -69.34)
CIE-LCHlch(50.07, 83.27, 303.63°)
OKLaboklab(58.9% 0.0587 -0.1985)
OKLCHoklch(58.9% 0.207 286.5)
XYZxyz(27.5528, 18.4800, 83.7598)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FEF #D5EF5F
analogous
#5F8DEF #795FEF #C15FEF
triadic
#795FEF #EF795F #5FEF79
tetradic
#795FEF #EF5F8D #D5EF5F #5FEFC1
square
#795FEF #EF5F8D #D5EF5F #5FEFC1
split-complementary
#795FEF #EFC15F #8DEF5F
monochromatic
#3213C0 #4A27E9 #795FEF #A897F5 #D6CEFA

Accessibility & contrast

On white

4.47
#795FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#795FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FEF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FEF#FFFFFF#000000##000000
##795FEF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#4E819E
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795fef;
/* rgb */ color: rgb(121, 95, 239);
/* oklch */ color: oklch(58.9% 0.207 286.5);
Tailwind
colors: {
  custom: {
    50: '#a88df5',
    500: '#795fef',
    950: '#000000',
  },
}
SCSS
$custom: #795fef;
$custom-light: #a88df5;
$custom-dark: #000000;
JSON
{
  "hex": "#795fef",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 250.833,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.20702,
    "h": 286.5
  },
  "luminance": 0.18481
}

Semantic roles & 50–950 ramp

primary
#795FEF
secondary
#E4EDBD
accent
#DE07B7
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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