#795CE0#795CE0

#795CE0 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.192 H 289.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#795CE0
RGBrgb(121, 92, 224)
HSLhsl(253, 68%, 62%)
HSVhsv(253, 59%, 88%)
CMYKcmyk(46%, 58.9%, 0%, 12.2%)
CIE-LABlab(48.39, 43.53, -63.62)
CIE-LCHlch(48.39, 77.09, 304.38°)
OKLaboklab(57.33% 0.0625 -0.1817)
OKLCHoklch(57.33% 0.192 289)
XYZxyz(25.1630, 17.1001, 72.4814)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE0 #C3E05C
analogous
#5C81E0 #795CE0 #BB5CE0
triadic
#795CE0 #E0795C #5CE079
tetradic
#795CE0 #E05C81 #C3E05C #5CE0BB
square
#795CE0 #E05C81 #C3E05C #5CE0BB
split-complementary
#795CE0 #E0BB5C #81E05C
monochromatic
#3C1FA3 #4F29D6 #795CE0 #A38FEA #CEC3F4

Accessibility & contrast

On white

4.75
#795CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#795CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE0
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE0#FFFFFF#000000##FFFFFF
##795CE01.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#0070DD
Tritanopia (blue-blind)
#587A95
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ce0;
/* rgb */ color: rgb(121, 92, 224);
/* oklch */ color: oklch(57.3% 0.192 289.0);
Tailwind
colors: {
  custom: {
    50: '#a78bea',
    500: '#795ce0',
    950: '#000000',
  },
}
SCSS
$custom: #795ce0;
$custom-light: #a78bea;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce0",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 253.182,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57332,
    "c": 0.19216,
    "h": 289
  },
  "luminance": 0.17101
}

Semantic roles & 50–950 ramp

primary
#795CE0
secondary
#DAE4B4
accent
#D016A7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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