#7935B2#7935B2

#7935B2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.190 H 305.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7935B2
RGBrgb(121, 53, 178)
HSLhsl(273, 54%, 45%)
HSVhsv(273, 70%, 70%)
CMYKcmyk(32%, 70.2%, 0%, 30.2%)
CIE-LABlab(37.53, 52.05, -54.56)
CIE-LCHlch(37.53, 75.41, 313.65°)
OKLaboklab(48.45% 0.1093 -0.155)
OKLCHoklch(48.45% 0.19 305.2)
XYZxyz(17.1924, 9.8256, 43.1017)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7935B2 #6EB235
analogous
#3A35B2 #7935B2 #B235AD
triadic
#7935B2 #B27935 #35B279
tetradic
#7935B2 #B23A35 #6EB235 #35ADB2
square
#7935B2 #B23A35 #6EB235 #35ADB2
split-complementary
#7935B2 #ADB235 #35B23A
monochromatic
#391954 #592783 #7935B2 #9757CD #B486DB

Accessibility & contrast

On white

7.08
#7935B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7935B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7935B2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7935B2#FFFFFF#000000##FFFFFF
##7935B21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0058AF
Tritanopia (blue-blind)
#6F5270
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7935b2;
/* rgb */ color: rgb(121, 53, 178);
/* oklch */ color: oklch(48.4% 0.190 305.2);
Tailwind
colors: {
  custom: {
    50: '#a472ca',
    500: '#7935b2',
    950: '#000000',
  },
}
SCSS
$custom: #7935b2;
$custom-light: #a472ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7935b2",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 272.64,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.18967,
    "h": 305.2
  },
  "luminance": 0.09826
}

Semantic roles & 50–950 ramp

primary
#7935B2
secondary
#9EC57E
accent
#DD4A8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7935B2

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

Preview Lab → · Contrast checker → · Palette generator →

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