#7B37CB#7B37CB

#7B37CB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.214 H 299.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7B37CB
RGBrgb(123, 55, 203)
HSLhsl(268, 59%, 51%)
HSVhsv(268, 73%, 80%)
CMYKcmyk(39.4%, 72.9%, 0%, 20.4%)
CIE-LABlab(40.01, 57.52, -65.18)
CIE-LCHlch(40.01, 86.93, 311.43°)
OKLaboklab(50.86% 0.1056 -0.1862)
OKLCHoklch(50.86% 0.214 299.6)
XYZxyz(20.3114, 11.2549, 57.5906)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B37CB #87CB37
analogous
#373DCB #7B37CB #C537CB
triadic
#7B37CB #CB7B37 #37CB7B
tetradic
#7B37CB #CB373D #87CB37 #37CBC5
square
#7B37CB #CB373D #87CB37 #37CBC5
split-complementary
#7B37CB #CBC537 #3DCB37
monochromatic
#411C6C #5E299C #7B37CB #9B68D8 #BB98E4

Accessibility & contrast

On white

6.46
#7B37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7B37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B37CB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B37CB#FFFFFF#000000##FFFFFF
##7B37CB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#685C7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b37cb;
/* rgb */ color: rgb(123, 55, 203);
/* oklch */ color: oklch(50.9% 0.214 299.6);
Tailwind
colors: {
  custom: {
    50: '#a874dc',
    500: '#7b37cb',
    950: '#000000',
  },
}
SCSS
$custom: #7b37cb;
$custom-light: #a874dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7b37cb",
  "rgb": {
    "r": 123,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 267.568,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.21405,
    "h": 299.6
  },
  "luminance": 0.11255
}

Semantic roles & 50–950 ramp

primary
#7B37CB
secondary
#B2D08E
accent
#E2469A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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