#795FF4#795FF4

#795FF4 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.3% C 0.213 H 285.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#795FF4
RGBrgb(121, 95, 244)
HSLhsl(250, 87%, 66%)
HSVhsv(250, 61%, 96%)
CMYKcmyk(50.4%, 61.1%, 0%, 4.3%)
CIE-LABlab(50.43, 47.55, -71.56)
CIE-LCHlch(50.43, 85.92, 303.61°)
OKLaboklab(59.27% 0.0584 -0.205)
OKLCHoklch(59.27% 0.213 285.9)
XYZxyz(28.3017, 18.7796, 87.7040)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FF4 #DAF45F
analogous
#5F90F4 #795FF4 #C45FF4
triadic
#795FF4 #F4795F #5FF479
tetradic
#795FF4 #F45F90 #DAF45F #5FF4C4
square
#795FF4 #F45F90 #DAF45F #5FF4C4
split-complementary
#795FF4 #F4C45F #90F45F
monochromatic
#2F0ECB #4926F0 #795FF4 #A998F8 #D9D2FC

Accessibility & contrast

On white

4.42
#795FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#795FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FF4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FF4#FFFFFF#000000##000000
##795FF41.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#4B82A1
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795ff4;
/* rgb */ color: rgb(121, 95, 244);
/* oklch */ color: oklch(59.3% 0.213 285.9);
Tailwind
colors: {
  custom: {
    50: '#a98df9',
    500: '#795ff4',
    950: '#000000',
  },
}
SCSS
$custom: #795ff4;
$custom-light: #a98df9;
$custom-dark: #000000;
JSON
{
  "hex": "#795ff4",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 250.47,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.21321,
    "h": 285.9
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#795FF4
secondary
#E7F0BF
accent
#E402BC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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