#795FD5#795FD5

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

Color values

HEX#795FD5
RGBrgb(121, 95, 213)
HSLhsl(253, 58%, 60%)
HSVhsv(253, 55%, 84%)
CMYKcmyk(43.2%, 55.4%, 0%, 16.5%)
CIE-LABlab(48.33, 38.69, -57.47)
CIE-LCHlch(48.33, 69.28, 303.95°)
OKLaboklab(57.06% 0.0592 -0.1636)
OKLCHoklch(57.06% 0.174 289.9)
XYZxyz(23.9843, 17.0526, 64.9657)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FD5 #BBD55F
analogous
#5F80D5 #795FD5 #B45FD5
triadic
#795FD5 #D5795F #5FD579
tetradic
#795FD5 #D55F80 #BBD55F #5FD5B4
square
#795FD5 #D55F80 #BBD55F #5FD5B4
split-complementary
#795FD5 #D5B45F #80D55F
monochromatic
#3E2793 #5333C3 #795FD5 #A28FE2 #CAC0EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795FD5#FFFFFF#000000##FFFFFF
##795FD51.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)
#1E75D9
Deuteranopia (green-blind)
#2370D2
Tritanopia (blue-blind)
#5E7991
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795fd5;
/* rgb */ color: rgb(121, 95, 213);
/* oklch */ color: oklch(57.1% 0.174 289.9);
Tailwind
colors: {
  custom: {
    50: '#a58de3',
    500: '#795fd5',
    950: '#000000',
  },
}
SCSS
$custom: #795fd5;
$custom-light: #a58de3;
$custom-dark: #000000;
JSON
{
  "hex": "#795fd5",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 253.22,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.174,
    "h": 289.9
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#795FD5
secondary
#D5DEB1
accent
#C61FA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #795FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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