#795EFD#795EFD

#795EFD is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.225 H 285.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#795EFD
RGBrgb(121, 94, 253)
HSLhsl(250, 98%, 68%)
HSVhsv(250, 63%, 99%)
CMYKcmyk(52.2%, 62.8%, 0%, 0.8%)
CIE-LABlab(50.87, 50.71, -75.84)
CIE-LCHlch(50.87, 91.23, 303.77°)
OKLaboklab(59.8% 0.0587 -0.2176)
OKLCHoklch(59.8% 0.225 285.1)
XYZxyz(29.6122, 19.1606, 95.0475)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EFD #E2FD5E
analogous
#5E92FD #795EFD #C95EFD
triadic
#795EFD #FD795E #5EFD79
tetradic
#795EFD #FD5E92 #E2FD5E #5EFDC9
square
#795EFD #FD5E92 #E2FD5E #5EFDC9
split-complementary
#795EFD #FDC95E #92FD5E
monochromatic
#2803DE #4722FC #795EFD #AB9AFE #DED7FF

Accessibility & contrast

On white

4.35
#795EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#795EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EFD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EFD#FFFFFF#000000##000000
##795EFD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4385A5
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795efd;
/* rgb */ color: rgb(121, 94, 253);
/* oklch */ color: oklch(59.8% 0.225 285.1);
Tailwind
colors: {
  custom: {
    50: '#aa8dff',
    500: '#795efd',
    950: '#000000',
  },
}
SCSS
$custom: #795efd;
$custom-light: #aa8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#795efd",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 253
  },
  "hsl": {
    "h": 250.189,
    "s": 97.546,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59798,
    "c": 0.22542,
    "h": 285.1
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#795EFD
secondary
#EBF4C3
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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