#795DD5#795DD5

#795DD5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.177 H 290.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#795DD5
RGBrgb(121, 93, 213)
HSLhsl(254, 59%, 60%)
HSVhsv(254, 56%, 84%)
CMYKcmyk(43.2%, 56.3%, 0%, 16.5%)
CIE-LABlab(47.88, 39.85, -58.19)
CIE-LCHlch(47.88, 70.53, 304.40°)
OKLaboklab(56.72% 0.0616 -0.1657)
OKLCHoklch(56.72% 0.177 290.4)
XYZxyz(23.8064, 16.6970, 64.9064)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DD5 #B9D55D
analogous
#5D7DD5 #795DD5 #B55DD5
triadic
#795DD5 #D5795D #5DD579
tetradic
#795DD5 #D55D7D #B9D55D #5DD5B5
square
#795DD5 #D55D7D #B9D55D #5DD5B5
split-complementary
#795DD5 #D5B55D #7DD55D
monochromatic
#3F2692 #5432C2 #795DD5 #A18EE2 #C9BEEE

Accessibility & contrast

On white

4.84
#795DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#795DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DD5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DD5#FFFFFF#000000##FFFFFF
##795DD51.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1674D9
Deuteranopia (green-blind)
#1E6FD2
Tritanopia (blue-blind)
#5E7790
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795dd5;
/* rgb */ color: rgb(121, 93, 213);
/* oklch */ color: oklch(56.7% 0.177 290.4);
Tailwind
colors: {
  custom: {
    50: '#a58ce3',
    500: '#795dd5',
    950: '#000000',
  },
}
SCSS
$custom: #795dd5;
$custom-light: #a58ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#795dd5",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 254,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.56724,
    "c": 0.1768,
    "h": 290.4
  },
  "luminance": 0.16698
}

Semantic roles & 50–950 ramp

primary
#795DD5
secondary
#D3DEB0
accent
#E246BE
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #795DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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