#795CBF#795CBF

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

Color values

HEX#795CBF
RGBrgb(121, 92, 191)
HSLhsl(258, 44%, 55%)
HSVhsv(258, 52%, 75%)
CMYKcmyk(36.6%, 51.8%, 0%, 25.1%)
CIE-LABlab(46.29, 34.35, -48.09)
CIE-LCHlch(46.29, 59.10, 305.53°)
OKLaboklab(55.11% 0.062 -0.1361)
OKLCHoklch(55.11% 0.15 294.5)
XYZxyz(21.1138, 15.4804, 51.1557)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CBF #A2BF5C
analogous
#5C70BF #795CBF #AA5CBF
triadic
#795CBF #BF795C #5CBF79
tetradic
#795CBF #BF5C70 #A2BF5C #5CBFAA
square
#795CBF #BF5C70 #A2BF5C #5CBFAA
split-complementary
#795CBF #BFAA5C #70BF5C
monochromatic
#422D73 #5B3F9F #795CBF #9D88D0 #C1B4E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795CBF#FFFFFF#000000##FFFFFF
##795CBF1.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)
#356FC2
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#687085
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #795cbf;
/* rgb */ color: rgb(121, 92, 191);
/* oklch */ color: oklch(55.1% 0.150 294.5);
Tailwind
colors: {
  custom: {
    50: '#a38bd3',
    500: '#795cbf',
    950: '#000000',
  },
}
SCSS
$custom: #795cbf;
$custom-light: #a38bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#795cbf",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 257.576,
    "s": 43.612,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55108,
    "c": 0.14953,
    "h": 294.5
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#795CBF
secondary
#C4D0A7
accent
#D354AE
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83

Preview Lab

Preview with #795CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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