#7241CF#7241CF

#7241CF is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.4% C 0.206 H 293.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7241CF
RGBrgb(114, 65, 207)
HSLhsl(261, 60%, 53%)
HSVhsv(261, 69%, 81%)
CMYKcmyk(44.9%, 68.6%, 0%, 18.8%)
CIE-LABlab(41.00, 52.16, -65.93)
CIE-LCHlch(41.00, 84.07, 308.35°)
OKLaboklab(51.43% 0.0828 -0.1887)
OKLCHoklch(51.43% 0.206 293.7)
XYZxyz(20.0891, 11.8624, 60.2506)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241CF #9ECF41
analogous
#4157CF #7241CF #B941CF
triadic
#7241CF #CF7241 #41CF72
tetradic
#7241CF #CF4157 #9ECF41 #41CFB9
square
#7241CF #CF4157 #9ECF41 #41CFB9
split-complementary
#7241CF #CFB941 #57CF41
monochromatic
#3D1E77 #562BA8 #7241CF #9672DB #BBA3E8

Accessibility & contrast

On white

6.23
#7241CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7241CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241CF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241CF#FFFFFF#000000##FFFFFF
##7241CF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#576483
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7241cf;
/* rgb */ color: rgb(114, 65, 207);
/* oklch */ color: oklch(51.4% 0.206 293.7);
Tailwind
colors: {
  custom: {
    50: '#a279df',
    500: '#7241cf',
    950: '#000000',
  },
}
SCSS
$custom: #7241cf;
$custom-light: #a279df;
$custom-dark: #000000;
JSON
{
  "hex": "#7241cf",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 260.704,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51426,
    "c": 0.20606,
    "h": 293.7
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#7241CF
secondary
#BFD497
accent
#E345AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241CF

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

Preview Lab → · Contrast checker → · Palette generator →

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