#8241CB#8241CB

#8241CB is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.203 H 301.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8241CB
RGBrgb(130, 65, 203)
HSLhsl(268, 57%, 53%)
HSVhsv(268, 68%, 80%)
CMYKcmyk(36%, 68%, 0%, 20.4%)
CIE-LABlab(42.52, 54.17, -61.06)
CIE-LCHlch(42.52, 81.62, 311.58°)
OKLaboklab(52.83% 0.1055 -0.1739)
OKLCHoklch(52.83% 0.203 301.3)
XYZxyz(21.8731, 12.8381, 57.8140)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8241CB #8ACB41
analogous
#4145CB #8241CB #C741CB
triadic
#8241CB #CB8241 #41CB82
tetradic
#8241CB #CB4145 #8ACB41 #41CBC7
square
#8241CB #CB4145 #8ACB41 #41CBC7
split-complementary
#8241CB #CBC741 #45CB41
monochromatic
#461F72 #642CA2 #8241CB #A271D8 #C1A1E5

Accessibility & contrast

On white

5.89
#8241CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8241CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8241CB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8241CB#FFFFFF#000000##FFFFFF
##8241CB1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#726181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8241cb;
/* rgb */ color: rgb(130, 65, 203);
/* oklch */ color: oklch(52.8% 0.203 301.3);
Tailwind
colors: {
  custom: {
    50: '#ac7adc',
    500: '#8241cb',
    950: '#000000',
  },
}
SCSS
$custom: #8241cb;
$custom-light: #ac7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8241cb",
  "rgb": {
    "r": 130,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 268.261,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.20339,
    "h": 301.3
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

primary
#8241CB
secondary
#B6D296
accent
#E04898
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8241CB

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

Preview Lab → · Contrast checker → · Palette generator →

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