#795BDF#795BDF

#795BDF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.192 H 289.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#795BDF
RGBrgb(121, 91, 223)
HSLhsl(254, 67%, 62%)
HSVhsv(254, 59%, 87%)
CMYKcmyk(45.7%, 59.2%, 0%, 12.5%)
CIE-LABlab(48.10, 43.81, -63.51)
CIE-LCHlch(48.10, 77.16, 304.60°)
OKLaboklab(57.1% 0.0636 -0.1814)
OKLCHoklch(57.1% 0.192 289.3)
XYZxyz(24.9417, 16.8739, 71.7405)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BDF #C1DF5B
analogous
#5B7FDF #795BDF #BB5BDF
triadic
#795BDF #DF795B #5BDF79
tetradic
#795BDF #DF5B7F #C1DF5B #5BDFBB
square
#795BDF #DF5B7F #C1DF5B #5BDFBB
split-complementary
#795BDF #DFBB5B #7FDF5B
monochromatic
#3D1FA0 #5029D4 #795BDF #A38EE9 #CDC1F3

Accessibility & contrast

On white

4.80
#795BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795BDF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BDF#FFFFFF#000000##FFFFFF
##795BDF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#597994
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795bdf;
/* rgb */ color: rgb(121, 91, 223);
/* oklch */ color: oklch(57.1% 0.192 289.3);
Tailwind
colors: {
  custom: {
    50: '#a78aea',
    500: '#795bdf',
    950: '#000000',
  },
}
SCSS
$custom: #795bdf;
$custom-light: #a78aea;
$custom-dark: #000000;
JSON
{
  "hex": "#795bdf",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 253.636,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57101,
    "c": 0.19224,
    "h": 289.3
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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