#795DDF#795DDF

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

Color values

HEX#795DDF
RGBrgb(121, 93, 223)
HSLhsl(253, 67%, 62%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.7%, 58.3%, 0%, 12.5%)
CIE-LABlab(48.54, 42.67, -62.81)
CIE-LCHlch(48.54, 75.94, 304.19°)
OKLaboklab(57.42% 0.0615 -0.1793)
OKLCHoklch(57.42% 0.19 288.9)
XYZxyz(25.1150, 17.2204, 71.7983)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DDF #C3DF5D
analogous
#5D82DF #795DDF #BA5DDF
triadic
#795DDF #DF795D #5DDF79
tetradic
#795DDF #DF5D82 #C3DF5D #5DDFBA
square
#795DDF #DF5D82 #C3DF5D #5DDFBA
split-complementary
#795DDF #DFBA5D #82DF5D
monochromatic
#3C20A2 #4F2AD5 #795DDF #A390E9 #CEC3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795DDF#FFFFFF#000000##FFFFFF
##795DDF1.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)
#0076E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#597A95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ddf;
/* rgb */ color: rgb(121, 93, 223);
/* oklch */ color: oklch(57.4% 0.190 288.9);
Tailwind
colors: {
  custom: {
    50: '#a68cea',
    500: '#795ddf',
    950: '#000000',
  },
}
SCSS
$custom: #795ddf;
$custom-light: #a68cea;
$custom-dark: #000000;
JSON
{
  "hex": "#795ddf",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 252.923,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57421,
    "c": 0.18957,
    "h": 288.9
  },
  "luminance": 0.17221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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