#795BE0#795BE0

#795BE0 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.194 H 289.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#795BE0
RGBrgb(121, 91, 224)
HSLhsl(254, 68%, 62%)
HSVhsv(254, 59%, 88%)
CMYKcmyk(46%, 59.4%, 0%, 12.2%)
CIE-LABlab(48.17, 44.10, -63.97)
CIE-LCHlch(48.17, 77.70, 304.58°)
OKLaboklab(57.17% 0.0636 -0.1827)
OKLCHoklch(57.17% 0.194 289.2)
XYZxyz(25.0770, 16.9280, 72.4527)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795BE0 #C2E05B
analogous
#5B80E0 #795BE0 #BC5BE0
triadic
#795BE0 #E0795B #5BE079
tetradic
#795BE0 #E05B80 #C2E05B #5BE0BC
square
#795BE0 #E05B80 #C2E05B #5BE0BC
split-complementary
#795BE0 #E0BC5B #80E05B
monochromatic
#3C1FA2 #4F28D5 #795BE0 #A38EEA #CDC2F3

Accessibility & contrast

On white

4.79
#795BE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#795BE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795BE0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795BE0#FFFFFF#000000##FFFFFF
##795BE01.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E4
Deuteranopia (green-blind)
#006FDD
Tritanopia (blue-blind)
#597995
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795be0;
/* rgb */ color: rgb(121, 91, 224);
/* oklch */ color: oklch(57.2% 0.194 289.2);
Tailwind
colors: {
  custom: {
    50: '#a78aea',
    500: '#795be0',
    950: '#000000',
  },
}
SCSS
$custom: #795be0;
$custom-light: #a78aea;
$custom-dark: #000000;
JSON
{
  "hex": "#795be0",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 224
  },
  "hsl": {
    "h": 253.534,
    "s": 68.205,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.1935,
    "h": 289.2
  },
  "luminance": 0.16929
}

Semantic roles & 50–950 ramp

primary
#795BE0
secondary
#D9E4B3
accent
#D015A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795BE0

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

Preview Lab → · Contrast checker → · Palette generator →

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