#795EDC#795EDC

#795EDC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.184 H 289.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#795EDC
RGBrgb(121, 94, 220)
HSLhsl(253, 64%, 62%)
HSVhsv(253, 57%, 86%)
CMYKcmyk(45%, 57.3%, 0%, 13.7%)
CIE-LABlab(48.56, 41.25, -61.08)
CIE-LCHlch(48.56, 73.70, 304.04°)
OKLaboklab(57.37% 0.0604 -0.1742)
OKLCHoklch(57.37% 0.184 289.1)
XYZxyz(24.8025, 17.2367, 69.7165)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EDC #C1DC5E
analogous
#5E82DC #795EDC #B85EDC
triadic
#795EDC #DC795E #5EDC79
tetradic
#795EDC #DC5E82 #C1DC5E #5EDCB8
square
#795EDC #DC5E82 #C1DC5E #5EDCB8
split-complementary
#795EDC #DCB85E #82DC5E
monochromatic
#3D229D #502DD0 #795EDC #A390E7 #CDC3F2

Accessibility & contrast

On white

4.72
#795EDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#795EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EDC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EDC#FFFFFF#000000##FFFFFF
##795EDC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#0B70D9
Tritanopia (blue-blind)
#5B7A94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795edc;
/* rgb */ color: rgb(121, 94, 220);
/* oklch */ color: oklch(57.4% 0.184 289.1);
Tailwind
colors: {
  custom: {
    50: '#a68ce8',
    500: '#795edc',
    950: '#000000',
  },
}
SCSS
$custom: #795edc;
$custom-light: #a68ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#795edc",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 252.857,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57372,
    "c": 0.18439,
    "h": 289.1
  },
  "luminance": 0.17238
}

Semantic roles & 50–950 ramp

primary
#795EDC
secondary
#D8E2B3
accent
#CC19A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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