#795EFE#795EFE

#795EFE is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.227 H 285.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#795EFE
RGBrgb(121, 94, 254)
HSLhsl(250, 99%, 68%)
HSVhsv(250, 63%, 100%)
CMYKcmyk(52.4%, 63%, 0%, 0.4%)
CIE-LABlab(50.95, 50.99, -76.28)
CIE-LCHlch(50.95, 91.75, 303.77°)
OKLaboklab(59.88% 0.0586 -0.2189)
OKLCHoklch(59.88% 0.227 285)
XYZxyz(29.7719, 19.2245, 95.8887)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EFE #E3FE5E
analogous
#5E93FE #795EFE #C95EFE
triadic
#795EFE #FE795E #5EFE79
tetradic
#795EFE #FE5E93 #E3FE5E #5EFEC9
square
#795EFE #FE5E93 #E3FE5E #5EFEC9
split-complementary
#795EFE #FEC95E #93FE5E
monochromatic
#2701E0 #4621FE #795EFE #AC9BFE #DED8FF

Accessibility & contrast

On white

4.33
#795EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#795EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EFE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EFE#FFFFFF#000000##000000
##795EFE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0074FB
Tritanopia (blue-blind)
#4285A6
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795efe;
/* rgb */ color: rgb(121, 94, 254);
/* oklch */ color: oklch(59.9% 0.227 285.0);
Tailwind
colors: {
  custom: {
    50: '#aa8dff',
    500: '#795efe',
    950: '#000000',
  },
}
SCSS
$custom: #795efe;
$custom-light: #aa8dff;
$custom-dark: #000000;
JSON
{
  "hex": "#795efe",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 254
  },
  "hsl": {
    "h": 250.125,
    "s": 98.765,
    "l": 68.235
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.22662,
    "h": 285
  },
  "luminance": 0.19226
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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