#7241C8#7241C8

#7241C8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.9% C 0.198 H 295.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7241C8
RGBrgb(114, 65, 200)
HSLhsl(262, 55%, 52%)
HSVhsv(262, 68%, 78%)
CMYKcmyk(43%, 67.5%, 0%, 21.6%)
CIE-LABlab(40.46, 50.30, -62.75)
CIE-LCHlch(40.46, 80.42, 308.71°)
OKLaboklab(50.87% 0.0838 -0.1794)
OKLCHoklch(50.87% 0.198 295.1)
XYZxyz(19.2523, 11.5277, 55.8431)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241C8 #97C841
analogous
#4154C8 #7241C8 #B641C8
triadic
#7241C8 #C87241 #41C872
tetradic
#7241C8 #C84154 #97C841 #41C8B6
square
#7241C8 #C84154 #97C841 #41C8B6
split-complementary
#7241C8 #C8B641 #54C841
monochromatic
#3D206F #572E9E #7241C8 #9570D6 #B8A0E3

Accessibility & contrast

On white

6.35
#7241C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7241C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241C8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241C8#FFFFFF#000000##FFFFFF
##7241C81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#5B627F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7241c8;
/* rgb */ color: rgb(114, 65, 200);
/* oklch */ color: oklch(50.9% 0.198 295.1);
Tailwind
colors: {
  custom: {
    50: '#a179da',
    500: '#7241c8',
    950: '#000000',
  },
}
SCSS
$custom: #7241c8;
$custom-light: #a179da;
$custom-dark: #000000;
JSON
{
  "hex": "#7241c8",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 200
  },
  "hsl": {
    "h": 261.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5087,
    "c": 0.19801,
    "h": 295.1
  },
  "luminance": 0.11528
}

Semantic roles & 50–950 ramp

primary
#7241C8
secondary
#BAD095
accent
#DE49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241C8

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

Preview Lab → · Contrast checker → · Palette generator →

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