#795DF0#795DF0

#795DF0 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 58.7% C 0.211 H 286.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#795DF0
RGBrgb(121, 93, 240)
HSLhsl(251, 83%, 65%)
HSVhsv(251, 61%, 94%)
CMYKcmyk(49.6%, 61.2%, 0%, 5.9%)
CIE-LABlab(49.72, 47.53, -70.47)
CIE-LCHlch(49.72, 85.00, 304.00°)
OKLaboklab(58.66% 0.0607 -0.2019)
OKLCHoklch(58.66% 0.211 286.7)
XYZxyz(27.5231, 18.1836, 84.4807)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DF0 #D4F05D
analogous
#5D8AF0 #795DF0 #C35DF0
triadic
#795DF0 #F0795D #5DF079
tetradic
#795DF0 #F05D8A #D4F05D #5DF0C3
square
#795DF0 #F05D8A #D4F05D #5DF0C3
split-complementary
#795DF0 #F0C35D #8AF05D
monochromatic
#3312C1 #4B25EB #795DF0 #A795F5 #D6CDFA

Accessibility & contrast

On white

4.53
#795DF0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#795DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795DF0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795DF0#FFFFFF#000000##000000
##795DF01.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#0072ED
Tritanopia (blue-blind)
#4E809E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #795df0;
/* rgb */ color: rgb(121, 93, 240);
/* oklch */ color: oklch(58.7% 0.211 286.7);
Tailwind
colors: {
  custom: {
    50: '#a88cf6',
    500: '#795df0',
    950: '#000000',
  },
}
SCSS
$custom: #795df0;
$custom-light: #a88cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#795df0",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 251.429,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58659,
    "c": 0.21078,
    "h": 286.7
  },
  "luminance": 0.18185
}

Semantic roles & 50–950 ramp

primary
#795DF0
secondary
#E4EDBC
accent
#DF06B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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