#795FED#795FED

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

Color values

HEX#795FED
RGBrgb(121, 95, 237)
HSLhsl(251, 80%, 65%)
HSVhsv(251, 60%, 93%)
CMYKcmyk(48.9%, 59.9%, 0%, 7.1%)
CIE-LABlab(49.93, 45.54, -68.44)
CIE-LCHlch(49.93, 82.21, 303.64°)
OKLaboklab(58.75% 0.0588 -0.1959)
OKLCHoklch(58.75% 0.205 286.7)
XYZxyz(27.2589, 18.3625, 82.2124)
Luminance0.1836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795FED #D3ED5F
analogous
#5F8CED #795FED #C05FED
triadic
#795FED #ED795F #5FED79
tetradic
#795FED #ED5F8C #D3ED5F #5FEDC0
square
#795FED #ED5F8C #D3ED5F #5FEDC0
split-complementary
#795FED #EDC05F #8CED5F
monochromatic
#3415BC #4B28E7 #795FED #A796F3 #D5CDF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##795FED#FFFFFF#000000##000000
##795FED1.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)
#007AF2
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#50809D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #795fed;
/* rgb */ color: rgb(121, 95, 237);
/* oklch */ color: oklch(58.7% 0.205 286.7);
Tailwind
colors: {
  custom: {
    50: '#a88df4',
    500: '#795fed',
    950: '#000000',
  },
}
SCSS
$custom: #795fed;
$custom-light: #a88df4;
$custom-dark: #000000;
JSON
{
  "hex": "#795fed",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 250.986,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.58749,
    "c": 0.20453,
    "h": 286.7
  },
  "luminance": 0.18364
}

Semantic roles & 50–950 ramp

primary
#795FED
secondary
#E3ECBC
accent
#DC09B6
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795FED

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

Preview Lab → · Contrast checker → · Palette generator →

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