#795DDC#795DDC

#795DDC is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.2% C 0.186 H 289.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#795DDC
RGBrgb(121, 93, 220)
HSLhsl(253, 64%, 61%)
HSVhsv(253, 58%, 86%)
CMYKcmyk(45%, 57.7%, 0%, 13.7%)
CIE-LABlab(48.34, 41.82, -61.43)
CIE-LCHlch(48.34, 74.32, 304.25°)
OKLaboklab(57.21% 0.0615 -0.1753)
OKLCHoklch(57.21% 0.186 289.3)
XYZxyz(24.7141, 17.0600, 69.6870)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DDC #C0DC5D
analogous
#5D81DC #795DDC #B95DDC
triadic
#795DDC #DC795D #5DDC79
tetradic
#795DDC #DC5D81 #C0DC5D #5DDCB9
square
#795DDC #DC5D81 #C0DC5D #5DDCB9
split-complementary
#795DDC #DCB95D #81DC5D
monochromatic
#3D229D #512DCF #795DDC #A38FE7 #CCC2F2

Accessibility & contrast

On white

4.76
#795DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#795DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DDC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DDC#FFFFFF#000000##FFFFFF
##795DDC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0470D9
Tritanopia (blue-blind)
#5B7994
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ddc;
/* rgb */ color: rgb(121, 93, 220);
/* oklch */ color: oklch(57.2% 0.186 289.3);
Tailwind
colors: {
  custom: {
    50: '#a68ce8',
    500: '#795ddc',
    950: '#000000',
  },
}
SCSS
$custom: #795ddc;
$custom-light: #a68ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#795ddc",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 253.228,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.18576,
    "h": 289.3
  },
  "luminance": 0.17061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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