#7B37CA#7B37CA

#7B37CA is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.213 H 299.8°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7B37CA
RGBrgb(123, 55, 202)
HSLhsl(268, 58%, 50%)
HSVhsv(268, 73%, 79%)
CMYKcmyk(39.1%, 72.8%, 0%, 20.8%)
CIE-LABlab(39.93, 57.28, -64.73)
CIE-LCHlch(39.93, 86.43, 311.51°)
OKLaboklab(50.78% 0.1059 -0.1848)
OKLCHoklch(50.78% 0.213 299.8)
XYZxyz(20.1926, 11.2074, 56.9651)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37CA #86CA37
analogous
#373CCA #7B37CA #C437CA
triadic
#7B37CA #CA7B37 #37CA7B
tetradic
#7B37CA #CA373C #86CA37 #37CAC4
square
#7B37CA #CA373C #86CA37 #37CAC4
split-complementary
#7B37CA #CAC437 #3CCA37
monochromatic
#401C6A #5E299B #7B37CA #9B67D7 #BB98E4

Accessibility & contrast

On white

6.48
#7B37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7B37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37CA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37CA#FFFFFF#000000##FFFFFF
##7B37CA1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#695C7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b37ca;
/* rgb */ color: rgb(123, 55, 202);
/* oklch */ color: oklch(50.8% 0.213 299.8);
Tailwind
colors: {
  custom: {
    50: '#a874db',
    500: '#7b37ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b37ca;
$custom-light: #a874db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37ca",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 267.755,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.21299,
    "h": 299.8
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#7B37CA
secondary
#B1CF8E
accent
#E1469A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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