#795FBB#795FBB

#795FBB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.4% C 0.140 H 294.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#795FBB
RGBrgb(121, 95, 187)
HSLhsl(257, 40%, 55%)
HSVhsv(257, 49%, 73%)
CMYKcmyk(35.3%, 49.2%, 0%, 26.7%)
CIE-LABlab(46.76, 31.49, -45.01)
CIE-LCHlch(46.76, 54.94, 304.98°)
OKLaboklab(55.39% 0.0577 -0.1271)
OKLCHoklch(55.39% 0.14 294.4)
XYZxyz(20.9447, 15.8368, 48.9574)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FBB #A1BB5F
analogous
#5F73BB #795FBB #A75FBB
triadic
#795FBB #BB795F #5FBB79
tetradic
#795FBB #BB5F73 #A1BB5F #5FBBA7
square
#795FBB #BB5F73 #A1BB5F #5FBBA7
split-complementary
#795FBB #BBA75F #73BB5F
monochromatic
#423070 #5B429B #795FBB #9D8ACD #C1B5E0

Accessibility & contrast

On white

5.04
#795FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#795FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FBB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FBB#FFFFFF#000000##FFFFFF
##795FBB1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#436DB9
Tritanopia (blue-blind)
#697184
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #795fbb;
/* rgb */ color: rgb(121, 95, 187);
/* oklch */ color: oklch(55.4% 0.140 294.4);
Tailwind
colors: {
  custom: {
    50: '#a38dd0',
    500: '#795fbb',
    950: '#000000',
  },
}
SCSS
$custom: #795fbb;
$custom-light: #a38dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#795fbb",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 256.957,
    "s": 40.351,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55387,
    "c": 0.13956,
    "h": 294.4
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

primary
#795FBB
secondary
#C3CEA8
accent
#D058AE
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #795FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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