#7B35D2#7B35D2

#7B35D2 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.223 H 298.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7B35D2
RGBrgb(123, 53, 210)
HSLhsl(267, 64%, 52%)
HSVhsv(267, 75%, 82%)
CMYKcmyk(41.4%, 74.8%, 0%, 17.6%)
CIE-LABlab(40.26, 60.10, -68.81)
CIE-LCHlch(40.26, 91.36, 311.13°)
OKLaboklab(51.21% 0.1058 -0.1968)
OKLCHoklch(51.21% 0.223 298.3)
XYZxyz(21.0713, 11.4100, 62.0525)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B35D2 #8CD235
analogous
#353ED2 #7B35D2 #CA35D2
triadic
#7B35D2 #D27B35 #35D27B
tetradic
#7B35D2 #D2353E #8CD235 #35D2CA
square
#7B35D2 #D2353E #8CD235 #35D2CA
split-complementary
#7B35D2 #D2CA35 #3ED235
monochromatic
#411A73 #5E25A5 #7B35D2 #9C67DD #BC99E8

Accessibility & contrast

On white

6.40
#7B35D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7B35D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B35D2
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B35D2#FFFFFF#000000##FFFFFF
##7B35D21.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD6
Deuteranopia (green-blind)
#005DCF
Tritanopia (blue-blind)
#655E82
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7b35d2;
/* rgb */ color: rgb(123, 53, 210);
/* oklch */ color: oklch(51.2% 0.223 298.3);
Tailwind
colors: {
  custom: {
    50: '#a973e1',
    500: '#7b35d2',
    950: '#000000',
  },
}
SCSS
$custom: #7b35d2;
$custom-light: #a973e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7b35d2",
  "rgb": {
    "r": 123,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 266.752,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.22346,
    "h": 298.3
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#7B35D2
secondary
#B5D48F
accent
#E7419D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7B35D2

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

Preview Lab → · Contrast checker → · Palette generator →

#7B35D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva