#7241DC#7241DC

#7241DC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.221 H 291.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7241DC
RGBrgb(114, 65, 220)
HSLhsl(259, 69%, 56%)
HSVhsv(259, 70%, 86%)
CMYKcmyk(48.2%, 70.5%, 0%, 13.7%)
CIE-LABlab(42.04, 55.64, -71.70)
CIE-LCHlch(42.04, 90.75, 307.81°)
OKLaboklab(52.49% 0.0804 -0.2056)
OKLCHoklch(52.49% 0.221 291.4)
XYZxyz(21.7443, 12.5245, 68.9680)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241DC #ABDC41
analogous
#415DDC #7241DC #C041DC
triadic
#7241DC #DC7241 #41DC72
tetradic
#7241DC #DC415D #ABDC41 #41DCC0
square
#7241DC #DC415D #ABDC41 #41DCC0
split-complementary
#7241DC #DCC041 #5DDC41
monochromatic
#3D1989 #5423BD #7241DC #9875E6 #BFA8EF

Accessibility & contrast

On white

5.99
#7241DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7241DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241DC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241DC#FFFFFF#000000##FFFFFF
##7241DC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#50698A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7241dc;
/* rgb */ color: rgb(114, 65, 220);
/* oklch */ color: oklch(52.5% 0.221 291.4);
Tailwind
colors: {
  custom: {
    50: '#a47ae8',
    500: '#7241dc',
    950: '#000000',
  },
}
SCSS
$custom: #7241dc;
$custom-light: #a47ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#7241dc",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 258.968,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52491,
    "c": 0.22081,
    "h": 291.4
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#7241DC
secondary
#C8DD9C
accent
#EC3CB4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7241DC

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

Preview Lab → · Contrast checker → · Palette generator →

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