#7935C8#7935C8

#7935C8 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.213 H 299.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7935C8
RGBrgb(121, 53, 200)
HSLhsl(268, 58%, 50%)
HSVhsv(268, 74%, 78%)
CMYKcmyk(39.5%, 73.5%, 0%, 21.6%)
CIE-LABlab(39.21, 57.33, -64.75)
CIE-LCHlch(39.21, 86.48, 311.52°)
OKLaboklab(50.17% 0.1053 -0.1849)
OKLCHoklch(50.17% 0.213 299.6)
XYZxyz(19.5810, 10.7811, 55.6817)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935C8 #84C835
analogous
#353BC8 #7935C8 #C335C8
triadic
#7935C8 #C87935 #35C879
tetradic
#7935C8 #C8353B #84C835 #35C8C3
square
#7935C8 #C8353B #84C835 #35C8C3
split-complementary
#7935C8 #C8C335 #3BC835
monochromatic
#3E1B67 #5C2898 #7935C8 #9964D6 #B995E3

Accessibility & contrast

On white

6.65
#7935C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7935C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7935C8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935C8#FFFFFF#000000##FFFFFF
##7935C81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#665A7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7935c8;
/* rgb */ color: rgb(121, 53, 200);
/* oklch */ color: oklch(50.2% 0.213 299.6);
Tailwind
colors: {
  custom: {
    50: '#a673da',
    500: '#7935c8',
    950: '#000000',
  },
}
SCSS
$custom: #7935c8;
$custom-light: #a673da;
$custom-dark: #000000;
JSON
{
  "hex": "#7935c8",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 267.755,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50167,
    "c": 0.2128,
    "h": 299.6
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

primary
#7935C8
secondary
#AFCE8B
accent
#E1469A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7935C8

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

Preview Lab → · Contrast checker → · Palette generator →

#7935C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva