#795DCF#795DCF

#795DCF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.169 H 291.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#795DCF
RGBrgb(121, 93, 207)
HSLhsl(255, 54%, 59%)
HSVhsv(255, 55%, 81%)
CMYKcmyk(41.5%, 55.1%, 0%, 18.8%)
CIE-LABlab(47.49, 38.17, -55.38)
CIE-LCHlch(47.49, 67.26, 304.58°)
OKLaboklab(56.32% 0.0615 -0.1575)
OKLCHoklch(56.32% 0.169 291.3)
XYZxyz(23.0589, 16.3980, 60.9696)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DCF #B3CF5D
analogous
#5D7ACF #795DCF #B25DCF
triadic
#795DCF #CF795D #5DCF79
tetradic
#795DCF #CF5D7A #B3CF5D #5DCFB2
square
#795DCF #CF5D7A #B3CF5D #5DCFB2
split-complementary
#795DCF #CFB25D #7ACF5D
monochromatic
#402989 #5637B8 #795DCF #A08CDD #C7BBEB

Accessibility & contrast

On white

4.91
#795DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#795DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795DCF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DCF#FFFFFF#000000##FFFFFF
##795DCF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#296ECC
Tritanopia (blue-blind)
#61758D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #795dcf;
/* rgb */ color: rgb(121, 93, 207);
/* oklch */ color: oklch(56.3% 0.169 291.3);
Tailwind
colors: {
  custom: {
    50: '#a58cde',
    500: '#795dcf',
    950: '#000000',
  },
}
SCSS
$custom: #795dcf;
$custom-light: #a58cde;
$custom-dark: #000000;
JSON
{
  "hex": "#795dcf",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 254.737,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56318,
    "c": 0.16904,
    "h": 291.3
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#795DCF
secondary
#CFDAAD
accent
#DE4AB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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