#795BCE#795BCE

#795BCE is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.171 H 292.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#795BCE
RGBrgb(121, 91, 206)
HSLhsl(256, 54%, 58%)
HSVhsv(256, 56%, 81%)
CMYKcmyk(41.3%, 55.8%, 0%, 19.2%)
CIE-LABlab(46.98, 39.05, -55.63)
CIE-LCHlch(46.98, 67.97, 305.07°)
OKLaboklab(55.92% 0.0639 -0.1582)
OKLCHoklch(55.92% 0.171 292)
XYZxyz(22.7638, 16.0027, 60.2700)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BCE #B0CE5B
analogous
#5B76CE #795BCE #B25BCE
triadic
#795BCE #CE795B #5BCE79
tetradic
#795BCE #CE5B76 #B0CE5B #5BCEB2
square
#795BCE #CE5B76 #B0CE5B #5BCEB2
split-complementary
#795BCE #CEB25B #76CE5B
monochromatic
#412886 #5736B6 #795BCE #A08ADC #C6B9EA

Accessibility & contrast

On white

5.00
#795BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#795BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BCE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BCE#FFFFFF#000000##FFFFFF
##795BCE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#62748C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795bce;
/* rgb */ color: rgb(121, 91, 206);
/* oklch */ color: oklch(55.9% 0.171 292.0);
Tailwind
colors: {
  custom: {
    50: '#a58ade',
    500: '#795bce',
    950: '#000000',
  },
}
SCSS
$custom: #795bce;
$custom-light: #a58ade;
$custom-dark: #000000;
JSON
{
  "hex": "#795bce",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 255.652,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.17062,
    "h": 292
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#795BCE
secondary
#CDD9AB
accent
#DD4AB7
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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