#795EDF#795EDF

#795EDF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.188 H 288.7°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#795EDF
RGBrgb(121, 94, 223)
HSLhsl(253, 67%, 62%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.7%, 57.8%, 0%, 12.5%)
CIE-LABlab(48.76, 42.10, -62.45)
CIE-LCHlch(48.76, 75.32, 303.99°)
OKLaboklab(57.58% 0.0604 -0.1783)
OKLCHoklch(57.58% 0.188 288.7)
XYZxyz(25.2033, 17.3971, 71.8277)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EDF #C4DF5E
analogous
#5E84DF #795EDF #B95EDF
triadic
#795EDF #DF795E #5EDF79
tetradic
#795EDF #DF5E84 #C4DF5E #5EDFB9
square
#795EDF #DF5E84 #C4DF5E #5EDFB9
split-complementary
#795EDF #DFB95E #84DF5E
monochromatic
#3B20A2 #4F2BD5 #795EDF #A391E9 #CEC4F3

Accessibility & contrast

On white

4.69
#795EDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#795EDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EDF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EDF#FFFFFF#000000##FFFFFF
##795EDF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#0071DC
Tritanopia (blue-blind)
#597B95
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #795edf;
/* rgb */ color: rgb(121, 94, 223);
/* oklch */ color: oklch(57.6% 0.188 288.7);
Tailwind
colors: {
  custom: {
    50: '#a68cea',
    500: '#795edf',
    950: '#000000',
  },
}
SCSS
$custom: #795edf;
$custom-light: #a68cea;
$custom-dark: #000000;
JSON
{
  "hex": "#795edf",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 252.558,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.57582,
    "c": 0.18822,
    "h": 288.7
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#795EDF
secondary
#DAE4B5
accent
#CF17A8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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