#7241CC#7241CC

#7241CC is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.203 H 294.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7241CC
RGBrgb(114, 65, 204)
HSLhsl(261, 58%, 53%)
HSVhsv(261, 68%, 80%)
CMYKcmyk(44.1%, 68.1%, 0%, 20%)
CIE-LABlab(40.76, 51.36, -64.57)
CIE-LCHlch(40.76, 82.51, 308.50°)
OKLaboklab(51.19% 0.0832 -0.1847)
OKLCHoklch(51.19% 0.203 294.3)
XYZxyz(19.7259, 11.7171, 58.3373)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241CC #9BCC41
analogous
#4156CC #7241CC #B741CC
triadic
#7241CC #CC7241 #41CC72
tetradic
#7241CC #CC4156 #9BCC41 #41CCB7
square
#7241CC #CC4156 #9BCC41 #41CCB7
split-complementary
#7241CC #CCB741 #56CC41
monochromatic
#3D1F74 #562CA4 #7241CC #9671D9 #BAA1E6

Accessibility & contrast

On white

6.28
#7241CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7241CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241CC
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241CC#FFFFFF#000000##FFFFFF
##7241CC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#596381
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7241cc;
/* rgb */ color: rgb(114, 65, 204);
/* oklch */ color: oklch(51.2% 0.203 294.3);
Tailwind
colors: {
  custom: {
    50: '#a279dd',
    500: '#7241cc',
    950: '#000000',
  },
}
SCSS
$custom: #7241cc;
$custom-light: #a279dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7241cc",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 261.151,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51186,
    "c": 0.20262,
    "h": 294.3
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#7241CC
secondary
#BDD396
accent
#E147AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7241CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva