#795ECD#795ECD

#795ECD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.4% C 0.165 H 291.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#795ECD
RGBrgb(121, 94, 205)
HSLhsl(255, 53%, 59%)
HSVhsv(255, 54%, 80%)
CMYKcmyk(41%, 54.1%, 0%, 19.6%)
CIE-LABlab(47.59, 37.03, -54.07)
CIE-LCHlch(47.59, 65.53, 304.41°)
OKLaboklab(56.35% 0.0602 -0.1536)
OKLCHoklch(56.35% 0.165 291.4)
XYZxyz(22.9043, 16.4775, 59.7195)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795ECD #B2CD5E
analogous
#5E7ACD #795ECD #B15ECD
triadic
#795ECD #CD795E #5ECD79
tetradic
#795ECD #CD5E7A #B2CD5E #5ECDB1
square
#795ECD #CD5E7A #B2CD5E #5ECDB1
split-complementary
#795ECD #CDB15E #7ACD5E
monochromatic
#402A87 #5738B5 #795ECD #A08DDC #C7BBEA

Accessibility & contrast

On white

4.89
#795ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#795ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795ECD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795ECD#FFFFFF#000000##FFFFFF
##795ECD1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#62758C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795ecd;
/* rgb */ color: rgb(121, 94, 205);
/* oklch */ color: oklch(56.4% 0.165 291.4);
Tailwind
colors: {
  custom: {
    50: '#a48cdd',
    500: '#795ecd',
    950: '#000000',
  },
}
SCSS
$custom: #795ecd;
$custom-light: #a48cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#795ecd",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 254.595,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56354,
    "c": 0.165,
    "h": 291.4
  },
  "luminance": 0.16478
}

Semantic roles & 50–950 ramp

primary
#795ECD
secondary
#CFD9AD
accent
#DC4CB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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