#7241CB#7241CB

#7241CB is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.1% C 0.201 H 294.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7241CB
RGBrgb(114, 65, 203)
HSLhsl(261, 57%, 53%)
HSVhsv(261, 68%, 80%)
CMYKcmyk(43.8%, 68%, 0%, 20.4%)
CIE-LABlab(40.69, 51.10, -64.12)
CIE-LCHlch(40.69, 81.99, 308.55°)
OKLaboklab(51.11% 0.0834 -0.1834)
OKLCHoklch(51.11% 0.201 294.5)
XYZxyz(19.6063, 11.6693, 57.7077)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7241CB #9ACB41
analogous
#4155CB #7241CB #B741CB
triadic
#7241CB #CB7241 #41CB72
tetradic
#7241CB #CB4155 #9ACB41 #41CBB7
square
#7241CB #CB4155 #9ACB41 #41CBB7
split-complementary
#7241CB #CBB741 #55CB41
monochromatic
#3D1F72 #562CA2 #7241CB #9671D8 #B9A1E5

Accessibility & contrast

On white

6.30
#7241CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7241CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7241CB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7241CB#FFFFFF#000000##FFFFFF
##7241CB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#596381
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7241cb;
/* rgb */ color: rgb(114, 65, 203);
/* oklch */ color: oklch(51.1% 0.201 294.5);
Tailwind
colors: {
  custom: {
    50: '#a279dc',
    500: '#7241cb',
    950: '#000000',
  },
}
SCSS
$custom: #7241cb;
$custom-light: #a279dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7241cb",
  "rgb": {
    "r": 114,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 261.304,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51107,
    "c": 0.20146,
    "h": 294.5
  },
  "luminance": 0.1167
}

Semantic roles & 50–950 ramp

primary
#7241CB
secondary
#BDD296
accent
#E048AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7241CB

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

Preview Lab → · Contrast checker → · Palette generator →

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