#7037B2#7037B2

#7037B2 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.185 H 300.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7037B2
RGBrgb(112, 55, 178)
HSLhsl(268, 53%, 46%)
HSVhsv(268, 69%, 70%)
CMYKcmyk(37.1%, 69.1%, 0%, 30.2%)
CIE-LABlab(36.73, 49.28, -55.91)
CIE-LCHlch(36.73, 74.53, 311.39°)
OKLaboklab(47.63% 0.0947 -0.1593)
OKLCHoklch(47.63% 0.185 300.7)
XYZxyz(16.0822, 9.3914, 43.0763)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7037B2 #79B237
analogous
#373BB2 #7037B2 #AD37B2
triadic
#7037B2 #B27037 #37B270
tetradic
#7037B2 #B2373B #79B237 #37B2AD
square
#7037B2 #B2373B #79B237 #37B2AD
split-complementary
#7037B2 #B2AD37 #3BB237
monochromatic
#351A54 #532983 #7037B2 #8F5ACC #AF89DB

Accessibility & contrast

On white

7.30
#7037B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7037B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7037B2
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7037B2#FFFFFF#000000##FFFFFF
##7037B21.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#625470
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7037b2;
/* rgb */ color: rgb(112, 55, 178);
/* oklch */ color: oklch(47.6% 0.185 300.7);
Tailwind
colors: {
  custom: {
    50: '#9e72ca',
    500: '#7037b2',
    950: '#000000',
  },
}
SCSS
$custom: #7037b2;
$custom-light: #9e72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7037b2",
  "rgb": {
    "r": 112,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 267.805,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47627,
    "c": 0.18531,
    "h": 300.7
  },
  "luminance": 0.09391
}

Semantic roles & 50–950 ramp

primary
#7037B2
secondary
#A5C580
accent
#DC4C99
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7037B2

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

Preview Lab → · Contrast checker → · Palette generator →

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