#795CDE#795CDE

#795CDE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.190 H 289.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#795CDE
RGBrgb(121, 92, 222)
HSLhsl(253, 66%, 62%)
HSVhsv(253, 59%, 87%)
CMYKcmyk(45.5%, 58.6%, 0%, 12.9%)
CIE-LABlab(48.25, 42.96, -62.71)
CIE-LCHlch(48.25, 76.01, 304.42°)
OKLaboklab(57.19% 0.0626 -0.179)
OKLCHoklch(57.19% 0.19 289.3)
XYZxyz(24.8934, 16.9922, 71.0613)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795CDE #C1DE5C
analogous
#5C80DE #795CDE #BA5CDE
triadic
#795CDE #DE795C #5CDE79
tetradic
#795CDE #DE5C80 #C1DE5C #5CDEBA
square
#795CDE #DE5C80 #C1DE5C #5CDEBA
split-complementary
#795CDE #DEBA5C #80DE5C
monochromatic
#3D209F #502BD2 #795CDE #A38FE8 #CDC2F3

Accessibility & contrast

On white

4.77
#795CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#795CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795CDE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795CDE#FFFFFF#000000##FFFFFF
##795CDE1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#5A7994
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #795cde;
/* rgb */ color: rgb(121, 92, 222);
/* oklch */ color: oklch(57.2% 0.190 289.3);
Tailwind
colors: {
  custom: {
    50: '#a68be9',
    500: '#795cde',
    950: '#000000',
  },
}
SCSS
$custom: #795cde;
$custom-light: #a68be9;
$custom-dark: #000000;
JSON
{
  "hex": "#795cde",
  "rgb": {
    "r": 121,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 253.385,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57189,
    "c": 0.18964,
    "h": 289.3
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#795CDE
secondary
#D8E3B3
accent
#CE17A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #795CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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