#795CF4#795CF4

#795CF4 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.217 H 286.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#795CF4
RGBrgb(121, 92, 244)
HSLhsl(251, 87%, 66%)
HSVhsv(251, 62%, 96%)
CMYKcmyk(50.4%, 62.3%, 0%, 4.3%)
CIE-LABlab(49.80, 49.23, -72.58)
CIE-LCHlch(49.80, 87.70, 304.15°)
OKLaboklab(58.81% 0.0614 -0.2081)
OKLCHoklch(58.81% 0.217 286.4)
XYZxyz(28.0366, 18.2495, 87.6156)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CF4 #D7F45C
analogous
#5C8BF4 #795CF4 #C55CF4
triadic
#795CF4 #F4795C #5CF479
tetradic
#795CF4 #F45C8B #D7F45C #5CF4C5
square
#795CF4 #F45C8B #D7F45C #5CF4C5
split-complementary
#795CF4 #F4C55C #8BF45C
monochromatic
#310EC8 #4A23F0 #795CF4 #A895F8 #D7CFFC

Accessibility & contrast

On white

4.52
#795CF4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#795CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795CF4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CF4#FFFFFF#000000##000000
##795CF41.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF9
Deuteranopia (green-blind)
#0072F1
Tritanopia (blue-blind)
#4B81A0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795cf4;
/* rgb */ color: rgb(121, 92, 244);
/* oklch */ color: oklch(58.8% 0.217 286.4);
Tailwind
colors: {
  custom: {
    50: '#a98cf9',
    500: '#795cf4',
    950: '#000000',
  },
}
SCSS
$custom: #795cf4;
$custom-light: #a98cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#795cf4",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 251.447,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.21693,
    "h": 286.4
  },
  "luminance": 0.18251
}

Semantic roles & 50–950 ramp

primary
#795CF4
secondary
#E5EFBD
accent
#E402B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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