#795CD3#795CD3

#795CD3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.4% C 0.176 H 290.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#795CD3
RGBrgb(121, 92, 211)
HSLhsl(255, 57%, 59%)
HSVhsv(255, 56%, 83%)
CMYKcmyk(42.7%, 56.4%, 0%, 17.3%)
CIE-LABlab(47.52, 39.87, -57.62)
CIE-LCHlch(47.52, 70.06, 304.68°)
OKLaboklab(56.42% 0.0627 -0.1641)
OKLCHoklch(56.42% 0.176 290.9)
XYZxyz(23.4669, 16.4216, 63.5486)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CD3 #B6D35C
analogous
#5C7BD3 #795CD3 #B55CD3
triadic
#795CD3 #D3795C #5CD379
tetradic
#795CD3 #D35C7B #B6D35C #5CD3B5
square
#795CD3 #D35C7B #B6D35C #5CD3B5
split-complementary
#795CD3 #D3B55C #7BD35C
monochromatic
#40268E #5533BE #795CD3 #A18CE0 #C8BCED

Accessibility & contrast

On white

4.90
#795CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#795CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CD3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CD3#FFFFFF#000000##FFFFFF
##795CD31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1773D7
Deuteranopia (green-blind)
#1F6ED0
Tritanopia (blue-blind)
#5F768F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795cd3;
/* rgb */ color: rgb(121, 92, 211);
/* oklch */ color: oklch(56.4% 0.176 290.9);
Tailwind
colors: {
  custom: {
    50: '#a58be1',
    500: '#795cd3',
    950: '#000000',
  },
}
SCSS
$custom: #795cd3;
$custom-light: #a58be1;
$custom-dark: #000000;
JSON
{
  "hex": "#795cd3",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 254.622,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.56422,
    "c": 0.17564,
    "h": 290.9
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#795CD3
secondary
#D1DDAE
accent
#E147BB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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