#795DBB#795DBB

#795DBB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.0% C 0.143 H 295.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#795DBB
RGBrgb(121, 93, 187)
HSLhsl(258, 41%, 55%)
HSVhsv(258, 50%, 73%)
CMYKcmyk(35.3%, 50.3%, 0%, 26.7%)
CIE-LABlab(46.29, 32.67, -45.77)
CIE-LCHlch(46.29, 56.23, 305.52°)
OKLaboklab(55.03% 0.0604 -0.1293)
OKLCHoklch(55.03% 0.143 295)
XYZxyz(20.7669, 15.4811, 48.8981)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DBB #9FBB5D
analogous
#5D70BB #795DBB #A85DBB
triadic
#795DBB #BB795D #5DBB79
tetradic
#795DBB #BB5D70 #9FBB5D #5DBBA8
square
#795DBB #BB5D70 #9FBB5D #5DBBA8
split-complementary
#795DBB #BBA85D #70BB5D
monochromatic
#422F6F #5B419A #795DBB #9D88CD #C0B3DF

Accessibility & contrast

On white

5.13
#795DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#795DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DBB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DBB#FFFFFF#000000##FFFFFF
##795DBB1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A6EBE
Deuteranopia (green-blind)
#406CB9
Tritanopia (blue-blind)
#6A6F83
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795dbb;
/* rgb */ color: rgb(121, 93, 187);
/* oklch */ color: oklch(55.0% 0.143 295.0);
Tailwind
colors: {
  custom: {
    50: '#a38bd0',
    500: '#795dbb',
    950: '#000000',
  },
}
SCSS
$custom: #795dbb;
$custom-light: #a38bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#795dbb",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 187
  },
  "hsl": {
    "h": 257.872,
    "s": 40.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.14267,
    "h": 295
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#795DBB
secondary
#C2CEA6
accent
#D157AC
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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