#795CBE#795CBE

#795CBE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.148 H 294.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#795CBE
RGBrgb(121, 92, 190)
HSLhsl(258, 43%, 55%)
HSVhsv(258, 52%, 75%)
CMYKcmyk(36.3%, 51.6%, 0%, 25.5%)
CIE-LABlab(46.23, 34.07, -47.61)
CIE-LCHlch(46.23, 58.54, 305.59°)
OKLaboklab(55.05% 0.0619 -0.1347)
OKLCHoklch(55.05% 0.148 294.7)
XYZxyz(21.0042, 15.4365, 50.5781)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CBE #A1BE5C
analogous
#5C70BE #795CBE #AA5CBE
triadic
#795CBE #BE795C #5CBE79
tetradic
#795CBE #BE5C70 #A1BE5C #5CBEAA
square
#795CBE #BE5C70 #A1BE5C #5CBEAA
split-complementary
#795CBE #BEAA5C #70BE5C
monochromatic
#422E72 #5B3F9E #795CBE #9D88CF #C1B4E1

Accessibility & contrast

On white

5.14
#795CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#795CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CBE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CBE#FFFFFF#000000##FFFFFF
##795CBE1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366EC1
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#687084
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #795cbe;
/* rgb */ color: rgb(121, 92, 190);
/* oklch */ color: oklch(55.0% 0.148 294.7);
Tailwind
colors: {
  custom: {
    50: '#a38bd2',
    500: '#795cbe',
    950: '#000000',
  },
}
SCSS
$custom: #795cbe;
$custom-light: #a38bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#795cbe",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 190
  },
  "hsl": {
    "h": 257.755,
    "s": 42.982,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.14821,
    "h": 294.7
  },
  "luminance": 0.15437
}

Semantic roles & 50–950 ramp

primary
#795CBE
secondary
#C3CFA6
accent
#D355AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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