#795DDD#795DDD

#795DDD is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.187 H 289.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#795DDD
RGBrgb(121, 93, 221)
HSLhsl(253, 65%, 62%)
HSVhsv(253, 58%, 87%)
CMYKcmyk(45.2%, 57.9%, 0%, 13.3%)
CIE-LABlab(48.40, 42.11, -61.89)
CIE-LCHlch(48.40, 74.86, 304.23°)
OKLaboklab(57.28% 0.0615 -0.1766)
OKLCHoklch(57.28% 0.187 289.2)
XYZxyz(24.8470, 17.1132, 70.3866)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DDD #C1DD5D
analogous
#5D81DD #795DDD #B95DDD
triadic
#795DDD #DD795D #5DDD79
tetradic
#795DDD #DD5D81 #C1DD5D #5DDDB9
square
#795DDD #DD5D81 #C1DD5D #5DDDB9
split-complementary
#795DDD #DDB95D #81DD5D
monochromatic
#3D219E #502CD1 #795DDD #A390E8 #CDC2F2

Accessibility & contrast

On white

4.75
#795DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#795DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DDD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DDD#FFFFFF#000000##FFFFFF
##795DDD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#5A7A94
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ddd;
/* rgb */ color: rgb(121, 93, 221);
/* oklch */ color: oklch(57.3% 0.187 289.2);
Tailwind
colors: {
  custom: {
    50: '#a68ce8',
    500: '#795ddd',
    950: '#000000',
  },
}
SCSS
$custom: #795ddd;
$custom-light: #a68ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#795ddd",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 253.125,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.18703,
    "h": 289.2
  },
  "luminance": 0.17114
}

Semantic roles & 50–950 ramp

primary
#795DDD
secondary
#D8E3B3
accent
#CD18A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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