#795BDD#795BDD

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

Color values

HEX#795BDD
RGBrgb(121, 91, 221)
HSLhsl(254, 66%, 61%)
HSVhsv(254, 59%, 87%)
CMYKcmyk(45.2%, 58.8%, 0%, 13.3%)
CIE-LABlab(47.96, 43.25, -62.60)
CIE-LCHlch(47.96, 76.09, 304.64°)
OKLaboklab(56.96% 0.0637 -0.1787)
OKLCHoklch(56.96% 0.19 289.6)
XYZxyz(24.6737, 16.7667, 70.3288)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BDD #BFDD5B
analogous
#5B7EDD #795BDD #BA5BDD
triadic
#795BDD #DD795B #5BDD79
tetradic
#795BDD #DD5B7E #BFDD5B #5BDDBA
square
#795BDD #DD5B7E #BFDD5B #5BDDBA
split-complementary
#795BDD #DDBA5B #7EDD5B
monochromatic
#3D219D #512BD0 #795BDD #A28EE8 #CCC0F2

Accessibility & contrast

On white

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

On black

4.35
#795BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##795BDD#FFFFFF#000000##FFFFFF
##795BDD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#5A7893
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795bdd;
/* rgb */ color: rgb(121, 91, 221);
/* oklch */ color: oklch(57.0% 0.190 289.6);
Tailwind
colors: {
  custom: {
    50: '#a68ae8',
    500: '#795bdd',
    950: '#000000',
  },
}
SCSS
$custom: #795bdd;
$custom-light: #a68ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#795bdd",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 253.846,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56958,
    "c": 0.18973,
    "h": 289.6
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#795BDD
secondary
#D7E2B1
accent
#CE18A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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