#795AD7#795AD7

#795AD7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.4% C 0.184 H 290.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#795AD7
RGBrgb(121, 90, 215)
HSLhsl(255, 61%, 60%)
HSVhsv(255, 58%, 84%)
CMYKcmyk(43.7%, 58.1%, 0%, 15.7%)
CIE-LABlab(47.34, 42.13, -60.19)
CIE-LCHlch(47.34, 73.47, 304.99°)
OKLaboklab(56.37% 0.065 -0.1716)
OKLCHoklch(56.37% 0.184 290.7)
XYZxyz(23.8037, 16.2828, 66.1655)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AD7 #B8D75A
analogous
#5A7AD7 #795AD7 #B85AD7
triadic
#795AD7 #D7795A #5AD779
tetradic
#795AD7 #D75A7A #B8D75A #5AD7B8
square
#795AD7 #D75A7A #B8D75A #5AD7B8
split-complementary
#795AD7 #D7B85A #7AD75A
monochromatic
#3F2493 #5430C4 #795AD7 #A18BE3 #C9BDEF

Accessibility & contrast

On white

4.93
#795AD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#795AD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795AD7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AD7#FFFFFF#000000##FFFFFF
##795AD71.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#0B6ED4
Tritanopia (blue-blind)
#5E7690
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #795ad7;
/* rgb */ color: rgb(121, 90, 215);
/* oklch */ color: oklch(56.4% 0.184 290.7);
Tailwind
colors: {
  custom: {
    50: '#a68ae4',
    500: '#795ad7',
    950: '#000000',
  },
}
SCSS
$custom: #795ad7;
$custom-light: #a68ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#795ad7",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 254.88,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.18352,
    "h": 290.7
  },
  "luminance": 0.16284
}

Semantic roles & 50–950 ramp

primary
#795AD7
secondary
#D3DFAE
accent
#E444BC
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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