#7B37B2#7B37B2

#7B37B2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.9% C 0.188 H 305.9°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7B37B2
RGBrgb(123, 55, 178)
HSLhsl(273, 53%, 46%)
HSVhsv(273, 69%, 70%)
CMYKcmyk(30.9%, 69.1%, 0%, 30.2%)
CIE-LABlab(38.12, 51.53, -53.58)
CIE-LCHlch(38.12, 74.34, 313.88°)
OKLaboklab(48.93% 0.1099 -0.1521)
OKLCHoklch(48.93% 0.188 305.9)
XYZxyz(17.5687, 10.1578, 43.1460)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37B2 #6EB237
analogous
#3D37B2 #7B37B2 #B237AB
triadic
#7B37B2 #B27B37 #37B27B
tetradic
#7B37B2 #B23D37 #6EB237 #37ABB2
square
#7B37B2 #B23D37 #6EB237 #37ABB2
split-complementary
#7B37B2 #ABB237 #37B23D
monochromatic
#3A1A54 #5B2983 #7B37B2 #995ACC #B689DB

Accessibility & contrast

On white

6.93
#7B37B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7B37B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37B2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37B2#FFFFFF#000000##FFFFFF
##7B37B21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#0D5AAF
Tritanopia (blue-blind)
#715370
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7b37b2;
/* rgb */ color: rgb(123, 55, 178);
/* oklch */ color: oklch(48.9% 0.188 305.9);
Tailwind
colors: {
  custom: {
    50: '#a673ca',
    500: '#7b37b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b37b2;
$custom-light: #a673ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37b2",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 273.171,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.18765,
    "h": 305.9
  },
  "luminance": 0.10158
}

Semantic roles & 50–950 ramp

primary
#7B37B2
secondary
#9FC580
accent
#DC4C8C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7B37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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