#795EDB#795EDB

#795EDB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.183 H 289.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795EDB
RGBrgb(121, 94, 219)
HSLhsl(253, 63%, 61%)
HSVhsv(253, 57%, 86%)
CMYKcmyk(44.7%, 57.1%, 0%, 14.1%)
CIE-LABlab(48.49, 40.97, -60.61)
CIE-LCHlch(48.49, 73.16, 304.05°)
OKLaboklab(57.3% 0.0604 -0.1729)
OKLCHoklch(57.3% 0.183 289.3)
XYZxyz(24.6704, 17.1839, 69.0211)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EDB #C0DB5E
analogous
#5E82DB #795EDB #B85EDB
triadic
#795EDB #DB795E #5EDB79
tetradic
#795EDB #DB5E82 #C0DB5E #5EDBB8
square
#795EDB #DB5E82 #C0DB5E #5EDBB8
split-complementary
#795EDB #DBB85E #82DB5E
monochromatic
#3D239C #512ECE #795EDB #A390E6 #CCC2F1

Accessibility & contrast

On white

4.73
#795EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#795EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795EDB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EDB#FFFFFF#000000##FFFFFF
##795EDB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0676DF
Deuteranopia (green-blind)
#1070D8
Tritanopia (blue-blind)
#5B7A93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795edb;
/* rgb */ color: rgb(121, 94, 219);
/* oklch */ color: oklch(57.3% 0.183 289.3);
Tailwind
colors: {
  custom: {
    50: '#a68ce7',
    500: '#795edb',
    950: '#000000',
  },
}
SCSS
$custom: #795edb;
$custom-light: #a68ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#795edb",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 219
  },
  "hsl": {
    "h": 252.96,
    "s": 63.452,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.18312,
    "h": 289.3
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#795EDB
secondary
#D8E2B3
accent
#CB1AA5
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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