#7241CD#7241CD

#7241CD is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.204 H 294.1°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7241CD
RGBrgb(114, 65, 205)
HSLhsl(261, 58%, 53%)
HSVhsv(261, 68%, 80%)
CMYKcmyk(44.4%, 68.3%, 0%, 19.6%)
CIE-LABlab(40.84, 51.63, -65.02)
CIE-LCHlch(40.84, 83.03, 308.45°)
OKLaboklab(51.27% 0.0831 -0.1861)
OKLCHoklch(51.27% 0.204 294.1)
XYZxyz(19.8462, 11.7652, 58.9710)
Luminance0.1177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241CD #9CCD41
analogous
#4156CD #7241CD #B841CD
triadic
#7241CD #CD7241 #41CD72
tetradic
#7241CD #CD4156 #9CCD41 #41CDB8
square
#7241CD #CD4156 #9CCD41 #41CDB8
split-complementary
#7241CD #CDB841 #56CD41
monochromatic
#3D1F75 #562CA5 #7241CD #9671DA #BAA2E6

Accessibility & contrast

On white

6.26
#7241CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7241CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241CD
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241CD#FFFFFF#000000##FFFFFF
##7241CD1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#586482
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7241cd;
/* rgb */ color: rgb(114, 65, 205);
/* oklch */ color: oklch(51.3% 0.204 294.1);
Tailwind
colors: {
  custom: {
    50: '#a279dd',
    500: '#7241cd',
    950: '#000000',
  },
}
SCSS
$custom: #7241cd;
$custom-light: #a279dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7241cd",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 205
  },
  "hsl": {
    "h": 261,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.20377,
    "h": 294.1
  },
  "luminance": 0.11766
}

Semantic roles & 50–950 ramp

primary
#7241CD
secondary
#BED397
accent
#E246AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241CD

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

Preview Lab → · Contrast checker → · Palette generator →

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