#8046CB#8046CB

#8046CB is a mid, vivid violet. Relative luminance 0.133; OKLCH L 53.3% C 0.197 H 299.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8046CB
RGBrgb(128, 70, 203)
HSLhsl(266, 56%, 54%)
HSVhsv(266, 66%, 80%)
CMYKcmyk(36.9%, 65.5%, 0%, 20.4%)
CIE-LABlab(43.18, 51.28, -59.99)
CIE-LCHlch(43.18, 78.92, 310.52°)
OKLaboklab(53.26% 0.0975 -0.1708)
OKLCHoklch(53.26% 0.197 299.7)
XYZxyz(21.8691, 13.2811, 57.8997)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046CB #91CB46
analogous
#464ECB #8046CB #C246CB
triadic
#8046CB #CB8046 #46CB80
tetradic
#8046CB #CB464E #91CB46 #46CBC2
square
#8046CB #CB464E #91CB46 #46CBC2
split-complementary
#8046CB #CBC246 #4ECB46
monochromatic
#462176 #622EA5 #8046CB #A176D8 #C2A6E6

Accessibility & contrast

On white

5.74
#8046CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8046CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046CB#FFFFFF#000000##FFFFFF
##8046CB1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#6F6482
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8046cb;
/* rgb */ color: rgb(128, 70, 203);
/* oklch */ color: oklch(53.3% 0.197 299.7);
Tailwind
colors: {
  custom: {
    50: '#aa7ddc',
    500: '#8046cb',
    950: '#000000',
  },
}
SCSS
$custom: #8046cb;
$custom-light: #aa7ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#8046cb",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 266.165,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.19665,
    "h": 299.7
  },
  "luminance": 0.13281
}

Semantic roles & 50–950 ramp

primary
#8046CB
secondary
#BAD39A
accent
#DF489E
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046CB

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

Preview Lab → · Contrast checker → · Palette generator →

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