#7952FF#7952FF

#7952FF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.2% C 0.242 H 286.6°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7952FF
RGBrgb(121, 82, 255)
HSLhsl(254, 100%, 66%)
HSVhsv(254, 68%, 100%)
CMYKcmyk(52.5%, 67.8%, 0%, 0%)
CIE-LABlab(48.66, 57.70, -80.57)
CIE-LCHlch(48.66, 99.10, 305.61°)
OKLaboklab(58.25% 0.0691 -0.2315)
OKLCHoklch(58.25% 0.242 286.6)
XYZxyz(28.9471, 17.3180, 96.4058)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7952FF #D8FF52
analogous
#5281FF #7952FF #CF52FF
triadic
#7952FF #FF7952 #52FF79
tetradic
#7952FF #FF5281 #D8FF52 #52FFCF
square
#7952FF #FF5281 #D8FF52 #52FFCF
split-complementary
#7952FF #FFCF52 #81FF52
monochromatic
#3000D7 #4A15FF #7952FF #A88FFF #D8CCFF

Accessibility & contrast

On white

4.70
#7952FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7952FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7952FF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7952FF#FFFFFF#000000##FFFFFF
##7952FF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#006FFC
Tritanopia (blue-blind)
#427FA2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7952ff;
/* rgb */ color: rgb(121, 82, 255);
/* oklch */ color: oklch(58.2% 0.242 286.6);
Tailwind
colors: {
  custom: {
    50: '#ab85ff',
    500: '#7952ff',
    950: '#000000',
  },
}
SCSS
$custom: #7952ff;
$custom-light: #ab85ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7952ff",
  "rgb": {
    "r": 121,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 253.526,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58248,
    "c": 0.24162,
    "h": 286.6
  },
  "luminance": 0.1732
}

Semantic roles & 50–950 ramp

primary
#7952FF
secondary
#E6F3BA
accent
#E600B2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7952FF

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

Preview Lab → · Contrast checker → · Palette generator →

#7952FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva