#7032CB#7032CB

#7032CB is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.218 H 295.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7032CB
RGBrgb(112, 50, 203)
HSLhsl(264, 60%, 50%)
HSVhsv(264, 75%, 80%)
CMYKcmyk(44.8%, 75.4%, 0%, 20.4%)
CIE-LABlab(37.91, 57.92, -68.66)
CIE-LCHlch(37.91, 89.83, 310.15°)
OKLaboklab(49.09% 0.0942 -0.1967)
OKLCHoklch(49.09% 0.218 295.6)
XYZxyz(18.5993, 10.0373, 57.4458)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7032CB #8DCB32
analogous
#3240CB #7032CB #BD32CB
triadic
#7032CB #CB7032 #32CB70
tetradic
#7032CB #CB3240 #8DCB32 #32CBBD
square
#7032CB #CB3240 #8DCB32 #32CBBD
split-complementary
#7032CB #CBBD32 #40CB32
monochromatic
#3A1A69 #55269A #7032CB #9262D8 #B493E4

Accessibility & contrast

On white

6.98
#7032CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7032CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7032CB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7032CB#FFFFFF#000000##FFFFFF
##7032CB1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#575B7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7032cb;
/* rgb */ color: rgb(112, 50, 203);
/* oklch */ color: oklch(49.1% 0.218 295.6);
Tailwind
colors: {
  custom: {
    50: '#a170dc',
    500: '#7032cb',
    950: '#000000',
  },
}
SCSS
$custom: #7032cb;
$custom-light: #a170dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7032cb",
  "rgb": {
    "r": 112,
    "g": 50,
    "b": 203
  },
  "hsl": {
    "h": 264.314,
    "s": 60.474,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.21812,
    "h": 295.6
  },
  "luminance": 0.10038
}

Semantic roles & 50–950 ramp

primary
#7032CB
secondary
#B3CF89
accent
#E444A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7032CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7032CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva