#795FD4#795FD4

#795FD4 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.173 H 290.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#795FD4
RGBrgb(121, 95, 212)
HSLhsl(253, 58%, 60%)
HSVhsv(253, 55%, 83%)
CMYKcmyk(42.9%, 55.2%, 0%, 16.9%)
CIE-LABlab(48.26, 38.41, -57.00)
CIE-LCHlch(48.26, 68.73, 303.98°)
OKLaboklab(56.99% 0.0592 -0.1622)
OKLCHoklch(56.99% 0.173 290)
XYZxyz(23.8577, 17.0020, 64.2993)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FD4 #BAD45F
analogous
#5F80D4 #795FD4 #B35FD4
triadic
#795FD4 #D4795F #5FD479
tetradic
#795FD4 #D45F80 #BAD45F #5FD4B3
square
#795FD4 #D45F80 #BAD45F #5FD4B3
split-complementary
#795FD4 #D4B35F #80D45F
monochromatic
#3F2791 #5434C2 #795FD4 #A18FE1 #CABFEE

Accessibility & contrast

On white

4.77
#795FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#795FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FD4
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FD4#FFFFFF#000000##FFFFFF
##795FD41.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2075D8
Deuteranopia (green-blind)
#2570D1
Tritanopia (blue-blind)
#5F7890
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795fd4;
/* rgb */ color: rgb(121, 95, 212);
/* oklch */ color: oklch(57.0% 0.173 290.0);
Tailwind
colors: {
  custom: {
    50: '#a58de2',
    500: '#795fd4',
    950: '#000000',
  },
}
SCSS
$custom: #795fd4;
$custom-light: #a58de2;
$custom-dark: #000000;
JSON
{
  "hex": "#795fd4",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 253.333,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.56989,
    "c": 0.17269,
    "h": 290
  },
  "luminance": 0.17003
}

Semantic roles & 50–950 ramp

primary
#795FD4
secondary
#D4DEB1
accent
#C520A1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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