#795CFF#795CFF

#795CFF is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.230 H 285.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#795CFF
RGBrgb(121, 92, 255)
HSLhsl(251, 100%, 68%)
HSVhsv(251, 64%, 100%)
CMYKcmyk(52.5%, 63.9%, 0%, 0%)
CIE-LABlab(50.61, 52.38, -77.38)
CIE-LCHlch(50.61, 93.44, 304.10°)
OKLaboklab(59.66% 0.0603 -0.2222)
OKLCHoklch(59.66% 0.23 285.2)
XYZxyz(29.7569, 18.9376, 96.6757)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CFF #E2FF5C
analogous
#5C90FF #795CFF #CB5CFF
triadic
#795CFF #FF795C #5CFF79
tetradic
#795CFF #FF5C90 #E2FF5C #5CFFCB
square
#795CFF #FF5C90 #E2FF5C #5CFFCB
split-complementary
#795CFF #FFCB5C #90FF5C
monochromatic
#2800E1 #471FFF #795CFF #AB99FF #DED6FF

Accessibility & contrast

On white

4.39
#795CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#795CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795CFF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CFF#FFFFFF#000000##000000
##795CFF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0073FC
Tritanopia (blue-blind)
#4184A6
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #795cff;
/* rgb */ color: rgb(121, 92, 255);
/* oklch */ color: oklch(59.7% 0.230 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa8cff',
    500: '#795cff',
    950: '#000000',
  },
}
SCSS
$custom: #795cff;
$custom-light: #aa8cff;
$custom-dark: #000000;
JSON
{
  "hex": "#795cff",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 255
  },
  "hsl": {
    "h": 250.675,
    "s": 100,
    "l": 68.039
  },
  "oklch": {
    "l": 0.59656,
    "c": 0.2302,
    "h": 285.2
  },
  "luminance": 0.18939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #795CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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