#795FD8#795FD8

#795FD8 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.3% C 0.178 H 289.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#795FD8
RGBrgb(121, 95, 216)
HSLhsl(253, 61%, 61%)
HSVhsv(253, 56%, 85%)
CMYKcmyk(44%, 56%, 0%, 15.3%)
CIE-LABlab(48.52, 39.54, -58.86)
CIE-LCHlch(48.52, 70.91, 303.89°)
OKLaboklab(57.26% 0.0593 -0.1677)
OKLCHoklch(57.26% 0.178 289.5)
XYZxyz(24.3685, 17.2064, 66.9896)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FD8 #BED85F
analogous
#5F81D8 #795FD8 #B65FD8
triadic
#795FD8 #D8795F #5FD879
tetradic
#795FD8 #D85F81 #BED85F #5FD8B6
square
#795FD8 #D85F81 #BED85F #5FD8B6
split-complementary
#795FD8 #D8B65F #81D85F
monochromatic
#3E2598 #5231C9 #795FD8 #A290E4 #CBC1F0

Accessibility & contrast

On white

4.73
#795FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#795FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FD8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FD8#FFFFFF#000000##FFFFFF
##795FD81.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1876DC
Deuteranopia (green-blind)
#1D70D5
Tritanopia (blue-blind)
#5D7992
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795fd8;
/* rgb */ color: rgb(121, 95, 216);
/* oklch */ color: oklch(57.3% 0.178 289.5);
Tailwind
colors: {
  custom: {
    50: '#a68de5',
    500: '#795fd8',
    950: '#000000',
  },
}
SCSS
$custom: #795fd8;
$custom-light: #a68de5;
$custom-dark: #000000;
JSON
{
  "hex": "#795fd8",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 252.893,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.17788,
    "h": 289.5
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#795FD8
secondary
#D6E0B3
accent
#C81DA4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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