#795DFA#795DFA

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

Color values

HEX#795DFA
RGBrgb(121, 93, 250)
HSLhsl(251, 94%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.6%, 62.8%, 0%, 2%)
CIE-LABlab(50.45, 50.40, -74.87)
CIE-LCHlch(50.45, 90.25, 303.94°)
OKLaboklab(59.42% 0.0599 -0.2148)
OKLCHoklch(59.42% 0.223 285.6)
XYZxyz(29.0497, 18.7943, 92.5209)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795DFA #DEFA5D
analogous
#5D8FFA #795DFA #C85DFA
triadic
#795DFA #FA795D #5DFA79
tetradic
#795DFA #FA5D8F #DEFA5D #5DFAC8
square
#795DFA #FA5D8F #DEFA5D #5DFAC8
split-complementary
#795DFA #FAC85D #8FFA5D
monochromatic
#2C07D6 #4822F8 #795DFA #AA98FC #DBD4FE

Accessibility & contrast

On white

4.41
#795DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##795DFA#FFFFFF#000000##000000
##795DFA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFF
Deuteranopia (green-blind)
#0073F7
Tritanopia (blue-blind)
#4683A3
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795dfa;
/* rgb */ color: rgb(121, 93, 250);
/* oklch */ color: oklch(59.4% 0.223 285.6);
Tailwind
colors: {
  custom: {
    50: '#aa8cfd',
    500: '#795dfa',
    950: '#000000',
  },
}
SCSS
$custom: #795dfa;
$custom-light: #aa8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#795dfa",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 250.701,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.59417,
    "c": 0.22299,
    "h": 285.6
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#795DFA
secondary
#E9F2C1
accent
#E600BD
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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