#795AF4#795AF4

#795AF4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.219 H 286.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#795AF4
RGBrgb(121, 90, 244)
HSLhsl(252, 88%, 65%)
HSVhsv(252, 63%, 96%)
CMYKcmyk(50.4%, 63.1%, 0%, 4.3%)
CIE-LABlab(49.38, 50.33, -73.25)
CIE-LCHlch(49.38, 88.88, 304.49°)
OKLaboklab(58.51% 0.0633 -0.21)
OKLCHoklch(58.51% 0.219 286.8)
XYZxyz(27.8656, 17.9076, 87.5586)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795AF4 #D5F45A
analogous
#5A88F4 #795AF4 #C65AF4
triadic
#795AF4 #F4795A #5AF479
tetradic
#795AF4 #F45A88 #D5F45A #5AF4C6
square
#795AF4 #F45A88 #D5F45A #5AF4C6
split-complementary
#795AF4 #F4C65A #88F45A
monochromatic
#320DC6 #4A21F0 #795AF4 #A893F8 #D6CDFC

Accessibility & contrast

On white

4.58
#795AF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#795AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795AF4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795AF4#FFFFFF#000000##000000
##795AF41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F9
Deuteranopia (green-blind)
#0071F1
Tritanopia (blue-blind)
#4B7F9F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795af4;
/* rgb */ color: rgb(121, 90, 244);
/* oklch */ color: oklch(58.5% 0.219 286.8);
Tailwind
colors: {
  custom: {
    50: '#a98af9',
    500: '#795af4',
    950: '#000000',
  },
}
SCSS
$custom: #795af4;
$custom-light: #a98af9;
$custom-dark: #000000;
JSON
{
  "hex": "#795af4",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 244
  },
  "hsl": {
    "h": 252.078,
    "s": 87.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58507,
    "c": 0.21937,
    "h": 286.8
  },
  "luminance": 0.17909
}

Semantic roles & 50–950 ramp

primary
#795AF4
secondary
#E4EFBB
accent
#E401B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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