#795EDE#795EDE

#795EDE is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.187 H 288.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#795EDE
RGBrgb(121, 94, 222)
HSLhsl(253, 66%, 62%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.5%, 57.7%, 0%, 12.9%)
CIE-LABlab(48.69, 41.82, -62.00)
CIE-LCHlch(48.69, 74.78, 304.00°)
OKLaboklab(57.51% 0.0604 -0.1769)
OKLCHoklch(57.51% 0.187 288.8)
XYZxyz(25.0689, 17.3433, 71.1198)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EDE #C3DE5E
analogous
#5E83DE #795EDE #B95EDE
triadic
#795EDE #DE795E #5EDE79
tetradic
#795EDE #DE5E83 #C3DE5E #5EDEB9
square
#795EDE #DE5E83 #C3DE5E #5EDEB9
split-complementary
#795EDE #DEB95E #83DE5E
monochromatic
#3C21A1 #4F2BD3 #795EDE #A391E8 #CEC4F3

Accessibility & contrast

On white

4.70
#795EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#795EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EDE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EDE#FFFFFF#000000##FFFFFF
##795EDE1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#0070DB
Tritanopia (blue-blind)
#597B95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795ede;
/* rgb */ color: rgb(121, 94, 222);
/* oklch */ color: oklch(57.5% 0.187 288.8);
Tailwind
colors: {
  custom: {
    50: '#a68ce9',
    500: '#795ede',
    950: '#000000',
  },
}
SCSS
$custom: #795ede;
$custom-light: #a68ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#795ede",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 252.656,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57512,
    "c": 0.18695,
    "h": 288.8
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#795EDE
secondary
#DAE4B4
accent
#CE18A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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