#795DEA#795DEA

#795DEA is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.2% C 0.203 H 287.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795DEA
RGBrgb(121, 93, 234)
HSLhsl(252, 77%, 64%)
HSVhsv(252, 60%, 92%)
CMYKcmyk(48.3%, 60.3%, 0%, 8.2%)
CIE-LABlab(49.29, 45.81, -67.79)
CIE-LCHlch(49.29, 81.82, 304.05°)
OKLaboklab(58.22% 0.061 -0.194)
OKLCHoklch(58.22% 0.203 287.5)
XYZxyz(26.6465, 17.8330, 79.8640)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DEA #CEEA5D
analogous
#5D88EA #795DEA #C05DEA
triadic
#795DEA #EA795D #5DEA79
tetradic
#795DEA #EA5D88 #CEEA5D #5DEAC0
square
#795DEA #EA5D88 #CEEA5D #5DEAC0
split-complementary
#795DEA #EAC05D #88EA5D
monochromatic
#3717B5 #4C27E3 #795DEA #A693F1 #D3C9F8

Accessibility & contrast

On white

4.60
#795DEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#795DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795DEA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DEA#FFFFFF#000000##FFFFFF
##795DEA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0071E7
Tritanopia (blue-blind)
#527E9B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795dea;
/* rgb */ color: rgb(121, 93, 234);
/* oklch */ color: oklch(58.2% 0.203 287.5);
Tailwind
colors: {
  custom: {
    50: '#a88cf2',
    500: '#795dea',
    950: '#000000',
  },
}
SCSS
$custom: #795dea;
$custom-light: #a88cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#795dea",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 251.915,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58215,
    "c": 0.20336,
    "h": 287.5
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#795DEA
secondary
#E0EAB9
accent
#D90CB1
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #795DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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