#795BDE#795BDE

#795BDE is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.191 H 289.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#795BDE
RGBrgb(121, 91, 222)
HSLhsl(254, 66%, 61%)
HSVhsv(254, 59%, 87%)
CMYKcmyk(45.5%, 59%, 0%, 12.9%)
CIE-LABlab(48.03, 43.53, -63.06)
CIE-LCHlch(48.03, 76.62, 304.62°)
OKLaboklab(57.03% 0.0637 -0.1801)
OKLCHoklch(57.03% 0.191 289.5)
XYZxyz(24.8073, 16.8201, 71.0326)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BDE #C0DE5B
analogous
#5B7FDE #795BDE #BA5BDE
triadic
#795BDE #DE795B #5BDE79
tetradic
#795BDE #DE5B7F #C0DE5B #5BDEBA
square
#795BDE #DE5B7F #C0DE5B #5BDEBA
split-complementary
#795BDE #DEBA5B #7FDE5B
monochromatic
#3D209F #512AD2 #795BDE #A38EE8 #CCC1F3

Accessibility & contrast

On white

4.81
#795BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795BDE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BDE#FFFFFF#000000##FFFFFF
##795BDE1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#5A7994
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795bde;
/* rgb */ color: rgb(121, 91, 222);
/* oklch */ color: oklch(57.0% 0.191 289.5);
Tailwind
colors: {
  custom: {
    50: '#a68ae9',
    500: '#795bde',
    950: '#000000',
  },
}
SCSS
$custom: #795bde;
$custom-light: #a68ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#795bde",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 222
  },
  "hsl": {
    "h": 253.74,
    "s": 66.497,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57029,
    "c": 0.19099,
    "h": 289.5
  },
  "luminance": 0.16821
}

Semantic roles & 50–950 ramp

primary
#795BDE
secondary
#D8E3B2
accent
#CE17A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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