#795DD7#795DD7

#795DD7 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.179 H 290.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#795DD7
RGBrgb(121, 93, 215)
HSLhsl(254, 60%, 60%)
HSVhsv(254, 57%, 84%)
CMYKcmyk(43.7%, 56.7%, 0%, 15.7%)
CIE-LABlab(48.01, 40.41, -59.12)
CIE-LCHlch(48.01, 71.61, 304.36°)
OKLaboklab(56.86% 0.0616 -0.1685)
OKLCHoklch(56.86% 0.179 290.1)
XYZxyz(24.0618, 16.7991, 66.2516)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DD7 #BBD75D
analogous
#5D7ED7 #795DD7 #B65DD7
triadic
#795DD7 #D7795D #5DD779
tetradic
#795DD7 #D75D7E #BBD75D #5DD7B6
square
#795DD7 #D75D7E #BBD75D #5DD7B6
split-complementary
#795DD7 #D7B65D #7ED75D
monochromatic
#3E2595 #5331C6 #795DD7 #A28EE3 #CABFEF

Accessibility & contrast

On white

4.82
#795DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#795DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DD7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DD7#FFFFFF#000000##FFFFFF
##795DD71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1074DB
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#5D7891
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795dd7;
/* rgb */ color: rgb(121, 93, 215);
/* oklch */ color: oklch(56.9% 0.179 290.1);
Tailwind
colors: {
  custom: {
    50: '#a68ce4',
    500: '#795dd7',
    950: '#000000',
  },
}
SCSS
$custom: #795dd7;
$custom-light: #a68ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#795dd7",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 253.77,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.56861,
    "c": 0.17937,
    "h": 290.1
  },
  "luminance": 0.168
}

Semantic roles & 50–950 ramp

primary
#795DD7
secondary
#D5DFB1
accent
#C81DA1
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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