#8046CF#8046CF

#8046CF is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.201 H 298.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8046CF
RGBrgb(128, 70, 207)
HSLhsl(265, 59%, 54%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(38.2%, 66.2%, 0%, 18.8%)
CIE-LABlab(43.47, 52.29, -61.84)
CIE-LCHlch(43.47, 80.98, 310.22°)
OKLaboklab(53.55% 0.097 -0.1762)
OKLCHoklch(53.55% 0.201 298.8)
XYZxyz(22.3519, 13.4742, 60.4426)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8046CF #95CF46
analogous
#4651CF #8046CF #C446CF
triadic
#8046CF #CF8046 #46CF80
tetradic
#8046CF #CF4651 #95CF46 #46CFC4
square
#8046CF #CF4651 #95CF46 #46CFC4
split-complementary
#8046CF #CFC446 #51CF46
monochromatic
#46207B #622CAB #8046CF #A177DC #C3A7E8

Accessibility & contrast

On white

5.68
#8046CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8046CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8046CF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8046CF#FFFFFF#000000##FFFFFF
##8046CF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#6E6685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8046cf;
/* rgb */ color: rgb(128, 70, 207);
/* oklch */ color: oklch(53.6% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#ab7ddf',
    500: '#8046cf',
    950: '#000000',
  },
}
SCSS
$custom: #8046cf;
$custom-light: #ab7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#8046cf",
  "rgb": {
    "r": 128,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 265.401,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.20117,
    "h": 298.8
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#8046CF
secondary
#BDD59B
accent
#E246A0
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8046CF

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

Preview Lab → · Contrast checker → · Palette generator →

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