#795CE3#795CE3

#795CE3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.196 H 288.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#795CE3
RGBrgb(121, 92, 227)
HSLhsl(253, 71%, 63%)
HSVhsv(253, 59%, 89%)
CMYKcmyk(46.7%, 59.5%, 0%, 11%)
CIE-LABlab(48.59, 44.38, -64.98)
CIE-LCHlch(48.59, 78.69, 304.33°)
OKLaboklab(57.55% 0.0624 -0.1857)
OKLCHoklch(57.55% 0.196 288.6)
XYZxyz(25.5735, 17.2643, 74.6430)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CE3 #C6E35C
analogous
#5C82E3 #795CE3 #BD5CE3
triadic
#795CE3 #E3795C #5CE379
tetradic
#795CE3 #E35C82 #C6E35C #5CE3BD
square
#795CE3 #E35C82 #C6E35C #5CE3BD
split-complementary
#795CE3 #E3BD5C #82E35C
monochromatic
#3B1DA8 #4E28DA #795CE3 #A490EC #CFC4F5

Accessibility & contrast

On white

4.72
#795CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#795CE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CE3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CE3#FFFFFF#000000##FFFFFF
##795CE31.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E7
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#577B97
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795ce3;
/* rgb */ color: rgb(121, 92, 227);
/* oklch */ color: oklch(57.5% 0.196 288.6);
Tailwind
colors: {
  custom: {
    50: '#a78bed',
    500: '#795ce3',
    950: '#000000',
  },
}
SCSS
$custom: #795ce3;
$custom-light: #a78bed;
$custom-dark: #000000;
JSON
{
  "hex": "#795ce3",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 252.889,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.57547,
    "c": 0.19594,
    "h": 288.6
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#795CE3
secondary
#DBE6B5
accent
#D313A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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