#795EF0#795EF0

#795EF0 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.8% C 0.210 H 286.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#795EF0
RGBrgb(121, 94, 240)
HSLhsl(251, 83%, 65%)
HSVhsv(251, 61%, 94%)
CMYKcmyk(49.6%, 60.8%, 0%, 5.9%)
CIE-LABlab(49.93, 46.96, -70.13)
CIE-LCHlch(49.93, 84.40, 303.81°)
OKLaboklab(58.81% 0.0597 -0.2008)
OKLCHoklch(58.81% 0.21 286.5)
XYZxyz(27.6114, 18.3603, 84.5102)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795EF0 #D5F05E
analogous
#5E8CF0 #795EF0 #C25EF0
triadic
#795EF0 #F0795E #5EF079
tetradic
#795EF0 #F05E8C #D5F05E #5EF0C2
square
#795EF0 #F05E8C #D5F05E #5EF0C2
split-complementary
#795EF0 #F0C25E #8CF05E
monochromatic
#3212C2 #4A26EB #795EF0 #A896F5 #D6CEFA

Accessibility & contrast

On white

4.49
#795EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#795EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795EF0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795EF0#FFFFFF#000000##000000
##795EF01.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795ef0;
/* rgb */ color: rgb(121, 94, 240);
/* oklch */ color: oklch(58.8% 0.210 286.5);
Tailwind
colors: {
  custom: {
    50: '#a88df6',
    500: '#795ef0',
    950: '#000000',
  },
}
SCSS
$custom: #795ef0;
$custom-light: #a88df6;
$custom-dark: #000000;
JSON
{
  "hex": "#795ef0",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 251.096,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.58814,
    "c": 0.20952,
    "h": 286.5
  },
  "luminance": 0.18362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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