#795FBD#795FBD

#795FBD is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.5% C 0.142 H 294.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#795FBD
RGBrgb(121, 95, 189)
HSLhsl(257, 42%, 56%)
HSVhsv(257, 50%, 74%)
CMYKcmyk(36%, 49.7%, 0%, 25.9%)
CIE-LABlab(46.87, 32.03, -45.99)
CIE-LCHlch(46.87, 56.05, 304.86°)
OKLaboklab(55.51% 0.0579 -0.1299)
OKLCHoklch(55.51% 0.142 294)
XYZxyz(21.1603, 15.9231, 50.0928)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FBD #A3BD5F
analogous
#5F74BD #795FBD #A85FBD
triadic
#795FBD #BD795F #5FBD79
tetradic
#795FBD #BD5F74 #A3BD5F #5FBDA8
square
#795FBD #BD5F74 #A3BD5F #5FBDA8
split-complementary
#795FBD #BDA85F #74BD5F
monochromatic
#422F72 #5B419E #795FBD #9D8ACF #C2B6E1

Accessibility & contrast

On white

5.02
#795FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#795FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FBD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FBD#FFFFFF#000000##FFFFFF
##795FBD1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C70C0
Deuteranopia (green-blind)
#416EBB
Tritanopia (blue-blind)
#697185
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795fbd;
/* rgb */ color: rgb(121, 95, 189);
/* oklch */ color: oklch(55.5% 0.142 294.0);
Tailwind
colors: {
  custom: {
    50: '#a38dd1',
    500: '#795fbd',
    950: '#000000',
  },
}
SCSS
$custom: #795fbd;
$custom-light: #a38dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#795fbd",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 256.596,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55509,
    "c": 0.14225,
    "h": 294
  },
  "luminance": 0.15923
}

Semantic roles & 50–950 ramp

primary
#795FBD
secondary
#C5CFA8
accent
#D156AF
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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