#795CFA#795CFA

#795CFA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.224 H 285.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#795CFA
RGBrgb(121, 92, 250)
HSLhsl(251, 94%, 67%)
HSVhsv(251, 63%, 98%)
CMYKcmyk(51.6%, 63.2%, 0%, 2%)
CIE-LABlab(50.24, 50.95, -75.21)
CIE-LCHlch(50.24, 90.84, 304.11°)
OKLaboklab(59.27% 0.0608 -0.2158)
OKLCHoklch(59.27% 0.224 285.7)
XYZxyz(28.9625, 18.6199, 92.4918)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CFA #DDFA5C
analogous
#5C8EFA #795CFA #C85CFA
triadic
#795CFA #FA795C #5CFA79
tetradic
#795CFA #FA5C8E #DDFA5C #5CFAC8
square
#795CFA #FA5C8E #DDFA5C #5CFAC8
split-complementary
#795CFA #FAC85C #8EFA5C
monochromatic
#2C07D5 #4821F8 #795CFA #AA97FC #DBD3FE

Accessibility & contrast

On white

4.45
#795CFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#795CFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795CFA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CFA#FFFFFF#000000##000000
##795CFA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.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: #795cfa;
/* rgb */ color: rgb(121, 92, 250);
/* oklch */ color: oklch(59.3% 0.224 285.7);
Tailwind
colors: {
  custom: {
    50: '#aa8cfd',
    500: '#795cfa',
    950: '#000000',
  },
}
SCSS
$custom: #795cfa;
$custom-light: #aa8cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#795cfa",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 251.013,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.2242,
    "h": 285.7
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#795CFA
secondary
#E9F2C0
accent
#E600BB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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