#795FFA#795FFA

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

Color values

HEX#795FFA
RGBrgb(121, 95, 250)
HSLhsl(250, 94%, 68%)
HSVhsv(250, 62%, 98%)
CMYKcmyk(51.6%, 62%, 0%, 2%)
CIE-LABlab(50.86, 49.29, -74.19)
CIE-LCHlch(50.86, 89.07, 303.60°)
OKLaboklab(59.72% 0.058 -0.2128)
OKLCHoklch(59.72% 0.221 285.2)
XYZxyz(29.2275, 19.1500, 92.5802)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FFA #E0FA5F
analogous
#5F92FA #795FFA #C75FFA
triadic
#795FFA #FA795F #5FFA79
tetradic
#795FFA #FA5F92 #E0FA5F #5FFAC7
square
#795FFA #FA5F92 #E0FA5F #5FFAC7
split-complementary
#795FFA #FAC75F #92FA5F
monochromatic
#2A07D8 #4724F8 #795FFA #AB9AFC #DCD6FE

Accessibility & contrast

On white

4.35
#795FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#795FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #795FFA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795FFA#FFFFFF#000000##000000
##795FFA1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074F7
Tritanopia (blue-blind)
#4584A4
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #795ffa;
/* rgb */ color: rgb(121, 95, 250);
/* oklch */ color: oklch(59.7% 0.221 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa8efd',
    500: '#795ffa',
    950: '#000000',
  },
}
SCSS
$custom: #795ffa;
$custom-light: #aa8efd;
$custom-dark: #000000;
JSON
{
  "hex": "#795ffa",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 250.065,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.5972,
    "c": 0.22056,
    "h": 285.2
  },
  "luminance": 0.19151
}

Semantic roles & 50–950 ramp

primary
#795FFA
secondary
#EAF2C2
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86

Preview Lab

Preview with #795FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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