#7241BE#7241BE

#7241BE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.186 H 297.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7241BE
RGBrgb(114, 65, 190)
HSLhsl(264, 49%, 50%)
HSVhsv(264, 66%, 75%)
CMYKcmyk(40%, 65.8%, 0%, 25.5%)
CIE-LABlab(39.71, 47.66, -58.14)
CIE-LCHlch(39.71, 75.18, 309.34°)
OKLaboklab(50.1% 0.0852 -0.1658)
OKLCHoklch(50.1% 0.186 297.2)
XYZxyz(18.1216, 11.0754, 49.8882)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241BE #8DBE41
analogous
#414EBE #7241BE #B141BE
triadic
#7241BE #BE7241 #41BE72
tetradic
#7241BE #BE414E #8DBE41 #41BEB1
square
#7241BE #BE414E #8DBE41 #41BEB1
split-complementary
#7241BE #BEB141 #4EBE41
monochromatic
#3B2263 #573190 #7241BE #946FCE #B69CDD

Accessibility & contrast

On white

6.53
#7241BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7241BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241BE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241BE#FFFFFF#000000##FFFFFF
##7241BE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#5F5E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7241be;
/* rgb */ color: rgb(114, 65, 190);
/* oklch */ color: oklch(50.1% 0.186 297.2);
Tailwind
colors: {
  custom: {
    50: '#a079d2',
    500: '#7241be',
    950: '#000000',
  },
}
SCSS
$custom: #7241be;
$custom-light: #a079d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7241be",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 263.52,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.1864,
    "h": 297.2
  },
  "luminance": 0.11076
}

Semantic roles & 50–950 ramp

primary
#7241BE
secondary
#B3C991
accent
#D94FA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7241BE

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

Preview Lab → · Contrast checker → · Palette generator →

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