#795CED#795CED

#795CED is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.208 H 287.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#795CED
RGBrgb(121, 92, 237)
HSLhsl(252, 80%, 65%)
HSVhsv(252, 61%, 93%)
CMYKcmyk(48.9%, 61.2%, 0%, 7.1%)
CIE-LABlab(49.29, 47.23, -69.48)
CIE-LCHlch(49.29, 84.01, 304.20°)
OKLaboklab(58.28% 0.0619 -0.1989)
OKLCHoklch(58.28% 0.208 287.3)
XYZxyz(26.9939, 17.8324, 82.1240)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CED #D0ED5C
analogous
#5C88ED #795CED #C25CED
triadic
#795CED #ED795C #5CED79
tetradic
#795CED #ED5C88 #D0ED5C #5CEDC2
square
#795CED #ED5C88 #D0ED5C #5CEDC2
split-complementary
#795CED #EDC25C #88ED5C
monochromatic
#3615BA #4C25E7 #795CED #A693F3 #D4CAF9

Accessibility & contrast

On white

4.60
#795CED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#795CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #795CED
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CED#FFFFFF#000000##FFFFFF
##795CED1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#507E9C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #795ced;
/* rgb */ color: rgb(121, 92, 237);
/* oklch */ color: oklch(58.3% 0.208 287.3);
Tailwind
colors: {
  custom: {
    50: '#a88bf4',
    500: '#795ced',
    950: '#000000',
  },
}
SCSS
$custom: #795ced;
$custom-light: #a88bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#795ced",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 252,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58281,
    "c": 0.20835,
    "h": 287.3
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#795CED
secondary
#E1EBB9
accent
#DC09B2
background
#FAF8FF
surface
#F5F0FE
border
#CFCBD6
text
#110C17
muted
#807D85

Preview Lab

Preview with #795CED

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

Preview Lab → · Contrast checker → · Palette generator →

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