#795FCF#795FCF

#795FCF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.166 H 290.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#795FCF
RGBrgb(121, 95, 207)
HSLhsl(254, 54%, 59%)
HSVhsv(254, 54%, 81%)
CMYKcmyk(41.5%, 54.1%, 0%, 18.8%)
CIE-LABlab(47.95, 37.01, -54.65)
CIE-LCHlch(47.95, 66.00, 304.11°)
OKLaboklab(56.66% 0.0591 -0.1553)
OKLCHoklch(56.66% 0.166 290.8)
XYZxyz(23.2368, 16.7536, 61.0289)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FCF #B5CF5F
analogous
#5F7DCF #795FCF #B15FCF
triadic
#795FCF #CF795F #5FCF79
tetradic
#795FCF #CF5F7D #B5CF5F #5FCFB1
square
#795FCF #CF5F7D #B5CF5F #5FCFB1
split-complementary
#795FCF #CFB15F #7DCF5F
monochromatic
#40298A #5638B9 #795FCF #A08EDD #C8BDEB

Accessibility & contrast

On white

4.83
#795FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#795FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795FCF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FCF#FFFFFF#000000##FFFFFF
##795FCF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2974D3
Deuteranopia (green-blind)
#2D6FCD
Tritanopia (blue-blind)
#61778E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795fcf;
/* rgb */ color: rgb(121, 95, 207);
/* oklch */ color: oklch(56.7% 0.166 290.8);
Tailwind
colors: {
  custom: {
    50: '#a58dde',
    500: '#795fcf',
    950: '#000000',
  },
}
SCSS
$custom: #795fcf;
$custom-light: #a58dde;
$custom-dark: #000000;
JSON
{
  "hex": "#795fcf",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 253.929,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56655,
    "c": 0.16617,
    "h": 290.8
  },
  "luminance": 0.16754
}

Semantic roles & 50–950 ramp

primary
#795FCF
secondary
#D1DBAF
accent
#DD4BBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #795FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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