#795DD9#795DD9

#795DD9 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.182 H 289.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#795DD9
RGBrgb(121, 93, 217)
HSLhsl(254, 62%, 61%)
HSVhsv(254, 57%, 85%)
CMYKcmyk(44.2%, 57.1%, 0%, 14.9%)
CIE-LABlab(48.14, 40.98, -60.05)
CIE-LCHlch(48.14, 72.70, 304.31°)
OKLaboklab(57% 0.0616 -0.1712)
OKLCHoklch(57% 0.182 289.8)
XYZxyz(24.3204, 16.9025, 67.6133)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DD9 #BDD95D
analogous
#5D7FD9 #795DD9 #B75DD9
triadic
#795DD9 #D9795D #5DD979
tetradic
#795DD9 #D95D7F #BDD95D #5DD9B7
square
#795DD9 #D95D7F #BDD95D #5DD9B7
split-complementary
#795DD9 #D9B75D #7FD95D
monochromatic
#3E2498 #522FCA #795DD9 #A28FE5 #CBC0F0

Accessibility & contrast

On white

4.79
#795DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#795DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DD9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DD9#FFFFFF#000000##FFFFFF
##795DD91.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0775DD
Deuteranopia (green-blind)
#126FD6
Tritanopia (blue-blind)
#5C7892
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795dd9;
/* rgb */ color: rgb(121, 93, 217);
/* oklch */ color: oklch(57.0% 0.182 289.8);
Tailwind
colors: {
  custom: {
    50: '#a68ce5',
    500: '#795dd9',
    950: '#000000',
  },
}
SCSS
$custom: #795dd9;
$custom-light: #a68ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#795dd9",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 253.548,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57,
    "c": 0.18194,
    "h": 289.8
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#795DD9
secondary
#D6E0B1
accent
#CA1CA2
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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