#795FF0#795FF0

#795FF0 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.208 H 286.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#795FF0
RGBrgb(121, 95, 240)
HSLhsl(251, 83%, 66%)
HSVhsv(251, 60%, 94%)
CMYKcmyk(49.6%, 60.4%, 0%, 5.9%)
CIE-LABlab(50.14, 46.40, -69.78)
CIE-LCHlch(50.14, 83.80, 303.62°)
OKLaboklab(58.97% 0.0587 -0.1998)
OKLCHoklch(58.97% 0.208 286.4)
XYZxyz(27.7009, 18.5393, 84.5400)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FF0 #D6F05F
analogous
#5F8DF0 #795FF0 #C25FF0
triadic
#795FF0 #F0795F #5FF079
tetradic
#795FF0 #F05F8D #D6F05F #5FF0C2
square
#795FF0 #F05F8D #D6F05F #5FF0C2
split-complementary
#795FF0 #F0C25F #8DF05F
monochromatic
#3212C2 #4A27EB #795FF0 #A897F5 #D7CFFA

Accessibility & contrast

On white

4.46
#795FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#795FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FF0
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FF0#FFFFFF#000000##000000
##795FF01.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#4E819F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795ff0;
/* rgb */ color: rgb(121, 95, 240);
/* oklch */ color: oklch(59.0% 0.208 286.4);
Tailwind
colors: {
  custom: {
    50: '#a88df6',
    500: '#795ff0',
    950: '#000000',
  },
}
SCSS
$custom: #795ff0;
$custom-light: #a88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#795ff0",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 250.759,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5897,
    "c": 0.20826,
    "h": 286.4
  },
  "luminance": 0.18541
}

Semantic roles & 50–950 ramp

primary
#795FF0
secondary
#E5EEBD
accent
#DF06B8
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #795FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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