#795CDC#795CDC

#795CDC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.187 H 289.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#795CDC
RGBrgb(121, 92, 220)
HSLhsl(254, 65%, 61%)
HSVhsv(254, 58%, 86%)
CMYKcmyk(45%, 58.2%, 0%, 13.7%)
CIE-LABlab(48.12, 42.40, -61.79)
CIE-LCHlch(48.12, 74.94, 304.46°)
OKLaboklab(57.05% 0.0626 -0.1763)
OKLCHoklch(57.05% 0.187 289.6)
XYZxyz(24.6269, 16.8856, 69.6579)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CDC #BFDC5C
analogous
#5C7FDC #795CDC #B95CDC
triadic
#795CDC #DC795C #5CDC79
tetradic
#795CDC #DC5C7F #BFDC5C #5CDCB9
square
#795CDC #DC5C7F #BFDC5C #5CDCB9
split-complementary
#795CDC #DCB95C #7FDC5C
monochromatic
#3D229C #512CCE #795CDC #A28EE7 #CCC1F2

Accessibility & contrast

On white

4.80
#795CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#795CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CDC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CDC#FFFFFF#000000##FFFFFF
##795CDC1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#5B7993
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #795cdc;
/* rgb */ color: rgb(121, 92, 220);
/* oklch */ color: oklch(57.0% 0.187 289.6);
Tailwind
colors: {
  custom: {
    50: '#a68be8',
    500: '#795cdc',
    950: '#000000',
  },
}
SCSS
$custom: #795cdc;
$custom-light: #a68be8;
$custom-dark: #000000;
JSON
{
  "hex": "#795cdc",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 253.594,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.18711,
    "h": 289.6
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#795CDC
secondary
#D7E2B2
accent
#CC19A4
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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